| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_LOGIN_LOGIN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_LOGIN_LOGIN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_LOGIN_LOGIN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_LOGIN_LOGIN_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 13 #include "components/password_manager/core/browser/password_manager.h" | 14 #include "components/password_manager/core/browser/password_manager.h" |
| 14 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 15 #include "content/public/browser/resource_dispatcher_host_login_delegate.h" | 16 #include "content/public/browser/resource_dispatcher_host_login_delegate.h" |
| 16 #include "content/public/browser/resource_request_info.h" | 17 #include "content/public/browser/resource_request_info.h" |
| 17 | 18 |
| 18 class GURL; | 19 class GURL; |
| 19 class LoginInterstitialDelegate; | 20 class LoginInterstitialDelegate; |
| 20 | 21 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 // caller must invoke OnRequestCancelled() on this LoginHandler before | 254 // caller must invoke OnRequestCancelled() on this LoginHandler before |
| 254 // destroying the net::URLRequest. | 255 // destroying the net::URLRequest. |
| 255 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, | 256 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, |
| 256 net::URLRequest* request); | 257 net::URLRequest* request); |
| 257 | 258 |
| 258 // Get the signon_realm under which the identity should be saved. | 259 // Get the signon_realm under which the identity should be saved. |
| 259 std::string GetSignonRealm(const GURL& url, | 260 std::string GetSignonRealm(const GURL& url, |
| 260 const net::AuthChallengeInfo& auth_info); | 261 const net::AuthChallengeInfo& auth_info); |
| 261 | 262 |
| 262 #endif // CHROME_BROWSER_UI_LOGIN_LOGIN_HANDLER_H_ | 263 #endif // CHROME_BROWSER_UI_LOGIN_LOGIN_HANDLER_H_ |
| OLD | NEW |