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

Unified Diff: content/browser/ssl/ssl_manager.h

Issue 1244863003: Attach a SecurityStyle to each request in ResourceLoader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update forgotten SerializeSecurityInfo() callsite Created 5 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 d4fca43e6b994112abda28baccf97cdeb5450ede..7b9a16a5fe0a5a680df2a9dc884d68873a63fca1 100644
--- a/content/browser/ssl/ssl_manager.h
+++ b/content/browser/ssl/ssl_manager.h
@@ -82,8 +82,14 @@ class SSLManager {
void DidRunInsecureContent(const std::string& security_origin);
private:
- // Update the NavigationEntry with our current state.
- void UpdateEntry(NavigationEntryImpl* entry);
+ // Updates the NavigationEntry with our current state. If the update
+ // changed the state, then this function notifies the appropriate
+ // WebContents of the change and returns true. Returns false
+ // otherwise.
+ bool UpdateEntry(NavigationEntryImpl* entry);
+
+ // Notifies the WebContents that the SSL state changed.
+ void NotifyDidChangeVisibleSSLState();
// The backend for the SSLPolicy to actuate its decisions.
SSLPolicyBackend backend_;

Powered by Google App Engine
This is Rietveld 408576698