Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Side by Side Diff: chrome/browser/ui/login/login_prompt.h

Issue 403933002: Set SSL info when an HTTP auth dialog is triggered by direct navigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Set SSL status in ResourceLoader Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
12 #include "components/password_manager/core/browser/password_manager.h" 12 #include "components/password_manager/core/browser/password_manager.h"
13 #include "content/public/browser/notification_observer.h" 13 #include "content/public/browser/notification_observer.h"
14 #include "content/public/browser/resource_dispatcher_host_login_delegate.h" 14 #include "content/public/browser/resource_dispatcher_host_login_delegate.h"
15 15
16 class GURL; 16 class GURL;
17 17
18 namespace content { 18 namespace content {
19 class NotificationRegistrar;
19 class RenderViewHostDelegate; 20 class RenderViewHostDelegate;
20 class NotificationRegistrar;
21 } // namespace content 21 } // namespace content
22 22
23 namespace net { 23 namespace net {
24 class AuthChallengeInfo; 24 class AuthChallengeInfo;
25 class HttpNetworkSession; 25 class HttpNetworkSession;
26 class URLRequest; 26 class URLRequest;
27 } // namespace net 27 } // namespace net
28 28
29 // This is the base implementation for the OS-specific classes that route 29 // This is the base implementation for the OS-specific classes that route
30 // authentication info to the net::URLRequest that needs it. These functions 30 // authentication info to the net::URLRequest that needs it. These functions
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698