summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorjcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-08 22:58:53 +0000
committerjcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-08 22:58:53 +0000
commit9a974f4e492b12ba688ea26649bcd65feacc06eb (patch)
treeee98fd581896307fd6dde76794934e4274729e42 /chrome/browser
parentdee9d5edda05a710fd7183a39a7d89c4b21d3dcc (diff)
downloadchromium_src-9a974f4e492b12ba688ea26649bcd65feacc06eb.zip
chromium_src-9a974f4e492b12ba688ea26649bcd65feacc06eb.tar.gz
chromium_src-9a974f4e492b12ba688ea26649bcd65feacc06eb.tar.bz2
Pages with mixed content were shown as secure.
BUG=1347301 TEST=Go to https://www.corp.google.com the page should not be reported as safe (the location bar should not show a lock). Review URL: http://codereview.chromium.org/2201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/ssl_policy.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/ssl_policy.cc b/chrome/browser/ssl_policy.cc
index a16e08b..4ae02a2 100644
--- a/chrome/browser/ssl_policy.cc
+++ b/chrome/browser/ssl_policy.cc
@@ -329,6 +329,10 @@ class DefaultPolicy : public SSLPolicy {
NavigationEntry* entry = navigation_controller->GetActiveEntry();
entry->ssl().set_has_mixed_content();
+ NotificationService::current()->Notify(
+ NOTIFY_SSL_STATE_CHANGED,
+ Source<NavigationController>(navigation_controller),
+ Details<NavigationEntry>(entry));
}
void OnDenyCertificate(SSLManager::CertError* error) {