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

Unified Diff: content/browser/ssl/ssl_manager.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: content/browser/ssl/ssl_manager.h
diff --git a/content/browser/ssl/ssl_manager.h b/content/browser/ssl/ssl_manager.h
index d4fca43e6b994112abda28baccf97cdeb5450ede..212f936bd2de45e73640abd5564e5d4f448f9d20 100644
--- a/content/browser/ssl/ssl_manager.h
+++ b/content/browser/ssl/ssl_manager.h
@@ -57,6 +57,12 @@ class SSLManager {
const net::SSLInfo& ssl_info,
bool fatal);
+ // Called before an HTTP basic auth dialog is displayed.
+ static void OnAuthDialog(int render_process_id,
+ int render_frame_id,
+ const std::string& serialized_security_info,
+ bool is_main_frame);
+
// Called when SSL state for a host or tab changes.
static void NotifySSLInternalStateChanged(BrowserContext* context);
@@ -84,6 +90,9 @@ class SSLManager {
private:
// Update the NavigationEntry with our current state.
void UpdateEntry(NavigationEntryImpl* entry);
+ void UpdateEntry(const std::string& serialized_security_info,
+ bool is_main_frame,
+ NavigationEntryImpl* entry);
// The backend for the SSLPolicy to actuate its decisions.
SSLPolicyBackend backend_;

Powered by Google App Engine
This is Rietveld 408576698