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

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: Just use pending navigation entry for everything Created 5 years, 9 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);
« no previous file with comments | « no previous file | chrome/browser/ui/login/login_interstitial_delegate.cc » ('j') | chrome/browser/ui/login/login_prompt.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698