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

Unified Diff: content/browser/ssl/ssl_policy_backend.cc

Issue 7542029: Profiles: SSLManger broadcasts SSL_INTERNAL_STATE_CHANGED with a NavigationController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: abarth's final comments Created 9 years, 4 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
« no previous file with comments | « content/browser/ssl/ssl_policy_backend.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_policy_backend.cc
diff --git a/content/browser/ssl/ssl_policy_backend.cc b/content/browser/ssl/ssl_policy_backend.cc
index 77689a9086d06063dda2ba1f38fb7fa6aa7e4cf9..60137cf2bdeebb3cea7b5d8011447233532d7fa4 100644
--- a/content/browser/ssl/ssl_policy_backend.cc
+++ b/content/browser/ssl/ssl_policy_backend.cc
@@ -9,13 +9,14 @@
#include "content/browser/tab_contents/navigation_controller.h"
SSLPolicyBackend::SSLPolicyBackend(NavigationController* controller)
- : ssl_host_state_(controller->browser_context()->GetSSLHostState()) {
- DCHECK(controller);
+ : ssl_host_state_(controller->browser_context()->GetSSLHostState()),
+ controller_(controller) {
+ DCHECK(controller_);
}
void SSLPolicyBackend::HostRanInsecureContent(const std::string& host, int id) {
ssl_host_state_->HostRanInsecureContent(host, id);
- SSLManager::NotifySSLInternalStateChanged();
+ SSLManager::NotifySSLInternalStateChanged(controller_);
}
bool SSLPolicyBackend::DidHostRunInsecureContent(const std::string& host,
« no previous file with comments | « content/browser/ssl/ssl_policy_backend.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698