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

Unified Diff: chrome/browser/ui/login/login_interstitial_delegate.h

Issue 1368863002: Set SSL info when an HTTP auth dialog is triggered by direct navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fill in the rest of entry->GetSSL(). Created 5 years, 3 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 0ae6ffcd255747d28269de924f1fa6625a1060c4..81a6a2fe8f6a6dd7b2d31136bc693a621d83fb77 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;
}
@@ -31,6 +32,7 @@ class LoginInterstitialDelegate : public content::InterstitialPageDelegate {
LoginInterstitialDelegate(content::WebContents* web_contents,
const GURL& request_url,
+ const content::SSLStatus& ssl_status,
base::Closure& callback);
~LoginInterstitialDelegate() override;
@@ -41,8 +43,11 @@ class LoginInterstitialDelegate : public content::InterstitialPageDelegate {
protected:
std::string GetHTMLContents() override;
+ 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