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

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 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_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..8200a998c811bc2339a89a086c2fcffc2b3c0a04 100644
--- a/chrome/browser/ui/login/login_interstitial_delegate.h
+++ b/chrome/browser/ui/login/login_interstitial_delegate.h
@@ -20,6 +20,7 @@ class WebContents;
namespace net {
class AuthChallengeInfo;
+class SSLInfo;
}
// Placeholder interstitial for HTTP login prompts. This interstitial makes the
@@ -28,7 +29,8 @@ class LoginInterstitialDelegate : public content::InterstitialPageDelegate {
public:
LoginInterstitialDelegate(content::WebContents* web_contents,
const GURL& request_url,
- base::Closure& callback);
+ base::Closure& callback,
+ const net::SSLInfo& ssl_info);
virtual ~LoginInterstitialDelegate();
@@ -37,9 +39,12 @@ class LoginInterstitialDelegate : public content::InterstitialPageDelegate {
protected:
virtual std::string GetHTMLContents() OVERRIDE;
+ virtual void OverrideEntry(content::NavigationEntry* entry) OVERRIDE;
private:
+ content::WebContents* web_contents_;
base::Closure callback_;
+ const net::SSLInfo& ssl_info_;
DISALLOW_COPY_AND_ASSIGN(LoginInterstitialDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698