| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_UI_LOGIN_LOGIN_PROMPT_H_ |
| 6 #define CHROME_BROWSER_UI_LOGIN_LOGIN_PROMPT_H_ | 6 #define CHROME_BROWSER_UI_LOGIN_LOGIN_PROMPT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
| 13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 14 #include "chrome/browser/password_manager/password_manager.h" | 14 #include "chrome/browser/password_manager/password_manager.h" |
| 15 #include "chrome/common/notification_observer.h" | 15 #include "content/common/notification_observer.h" |
| 16 #include "chrome/common/notification_registrar.h" | 16 #include "content/common/notification_registrar.h" |
| 17 | 17 |
| 18 namespace net { | 18 namespace net { |
| 19 class AuthChallengeInfo; | 19 class AuthChallengeInfo; |
| 20 class URLRequest; | 20 class URLRequest; |
| 21 } // namespace net | 21 } // namespace net |
| 22 | 22 |
| 23 class ConstrainedWindow; | 23 class ConstrainedWindow; |
| 24 class GURL; | 24 class GURL; |
| 25 class RenderViewHostDelegate; | 25 class RenderViewHostDelegate; |
| 26 | 26 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 // Helper to remove the ref from an net::URLRequest to the LoginHandler. | 212 // Helper to remove the ref from an net::URLRequest to the LoginHandler. |
| 213 // Should only be called from the IO thread, since it accesses an | 213 // Should only be called from the IO thread, since it accesses an |
| 214 // net::URLRequest. | 214 // net::URLRequest. |
| 215 void ResetLoginHandlerForRequest(net::URLRequest* request); | 215 void ResetLoginHandlerForRequest(net::URLRequest* request); |
| 216 | 216 |
| 217 // Get the signon_realm under which the identity should be saved. | 217 // Get the signon_realm under which the identity should be saved. |
| 218 std::string GetSignonRealm(const GURL& url, | 218 std::string GetSignonRealm(const GURL& url, |
| 219 const net::AuthChallengeInfo& auth_info); | 219 const net::AuthChallengeInfo& auth_info); |
| 220 | 220 |
| 221 #endif // CHROME_BROWSER_UI_LOGIN_LOGIN_PROMPT_H_ | 221 #endif // CHROME_BROWSER_UI_LOGIN_LOGIN_PROMPT_H_ |
| OLD | NEW |