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

Unified 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 for all HTTP basic auth prompts 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/login/login_prompt.h
diff --git a/chrome/browser/ui/login/login_prompt.h b/chrome/browser/ui/login/login_prompt.h
index 19f5381b9889a7f74b9176d0e5157a3d6ada8264..10951ca2844ecc874c61e94c7674086ac8d5ca89 100644
--- a/chrome/browser/ui/login/login_prompt.h
+++ b/chrome/browser/ui/login/login_prompt.h
@@ -16,13 +16,15 @@
class GURL;
namespace content {
-class RenderViewHostDelegate;
+class NavigationEntry;
class NotificationRegistrar;
+class RenderViewHostDelegate;
} // namespace content
namespace net {
class AuthChallengeInfo;
class HttpNetworkSession;
+class SSLInfo;
class URLRequest;
} // namespace net
@@ -40,6 +42,10 @@ class LoginHandler : public content::ResourceDispatcherHostLoginDelegate,
static LoginHandler* Create(net::AuthChallengeInfo* auth_info,
net::URLRequest* request);
+ static void UpdateSSLState(content::NavigationEntry* entry,
+ content::WebContents* contents,
+ const net::SSLInfo& ssl_info);
+
// ResourceDispatcherHostLoginDelegate implementation:
virtual void OnRequestCancelled() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698