OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_LOGIN_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_UI_LOGIN_LOGIN_PROMPT_H_ |
6 #define CHROME_BROWSER_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/lock.h" | 12 #include "base/lock.h" |
13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.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 "chrome/common/notification_observer.h" |
16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 | 204 |
205 // Helper to remove the ref from an net::URLRequest to the LoginHandler. | 205 // Helper to remove the ref from an net::URLRequest to the LoginHandler. |
206 // Should only be called from the IO thread, since it accesses an | 206 // Should only be called from the IO thread, since it accesses an |
207 // net::URLRequest. | 207 // net::URLRequest. |
208 void ResetLoginHandlerForRequest(net::URLRequest* request); | 208 void ResetLoginHandlerForRequest(net::URLRequest* request); |
209 | 209 |
210 // Get the signon_realm under which the identity should be saved. | 210 // Get the signon_realm under which the identity should be saved. |
211 std::string GetSignonRealm(const GURL& url, | 211 std::string GetSignonRealm(const GURL& url, |
212 const net::AuthChallengeInfo& auth_info); | 212 const net::AuthChallengeInfo& auth_info); |
213 | 213 |
214 #endif // CHROME_BROWSER_LOGIN_PROMPT_H_ | 214 #endif // CHROME_BROWSER_UI_LOGIN_LOGIN_PROMPT_H_ |
OLD | NEW |