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

Unified Diff: chrome/browser/ui/login/login_interstitial_delegate.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/login/login_interstitial_delegate.h
diff --git a/chrome/browser/ui/login/login_interstitial_delegate.h b/chrome/browser/ui/login/login_interstitial_delegate.h
index c55a420623038a9e4d5f17be6ab2bb21406c97f8..9aacf450d6e0ad68450fa8db5dcb8da30a7ea1dd 100644
--- a/chrome/browser/ui/login/login_interstitial_delegate.h
+++ b/chrome/browser/ui/login/login_interstitial_delegate.h
@@ -15,6 +15,7 @@
class LoginHandler;
namespace content {
+struct SSLStatus;
class WebContents;
}
@@ -28,6 +29,7 @@ class LoginInterstitialDelegate : public content::InterstitialPageDelegate {
public:
LoginInterstitialDelegate(content::WebContents* web_contents,
const GURL& request_url,
+ const content::SSLStatus& ssl_status,
base::Closure& callback);
virtual ~LoginInterstitialDelegate();
@@ -37,8 +39,11 @@ class LoginInterstitialDelegate : public content::InterstitialPageDelegate {
protected:
virtual std::string GetHTMLContents() OVERRIDE;
+ virtual void OverrideEntry(content::NavigationEntry* entry) OVERRIDE;
private:
+ content::WebContents* web_contents_;
+ const content::SSLStatus& ssl_status_;
base::Closure callback_;
DISALLOW_COPY_AND_ASSIGN(LoginInterstitialDelegate);

Powered by Google App Engine
This is Rietveld 408576698