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

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: Nasko comments 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: content/browser/ssl/ssl_manager.h
diff --git a/content/browser/ssl/ssl_manager.h b/content/browser/ssl/ssl_manager.h
index c195e981bcb41dec1c96cc0e3e1f1c433e9101ac..d54c22652972f05fe321c0ebd14b796d27808b59 100644
--- a/content/browser/ssl/ssl_manager.h
+++ b/content/browser/ssl/ssl_manager.h
@@ -58,6 +58,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_host,
Charlie Reis 2014/07/24 18:39:32 nit: render_frame_id (render_frame_host would usua
meacer 2014/07/24 18:48:32 Done.
+ 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);
@@ -85,6 +91,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