From b4a19ea2e5e85b15eb611770200a3eb76566b03a Mon Sep 17 00:00:00 2001 From: "abarth@chromium.org" Date: Tue, 17 Mar 2009 10:08:24 +0000 Subject: SSLPolicy Fix: Step 5. Add a new notification type to notify other SSLManagers when a security origin becomes contaminated with mixed content. TBR=wtc BUG=8706 Review URL: http://codereview.chromium.org/48059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11853 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ssl/ssl_policy.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/ssl/ssl_policy.cc') diff --git a/chrome/browser/ssl/ssl_policy.cc b/chrome/browser/ssl/ssl_policy.cc index 6e627fb..599f45c 100644 --- a/chrome/browser/ssl/ssl_policy.cc +++ b/chrome/browser/ssl/ssl_policy.cc @@ -267,7 +267,7 @@ class DefaultPolicy : public SSLPolicy { if (error->manager()->SetMaxSecurityStyle( SECURITY_STYLE_AUTHENTICATION_BROKEN)) { NotificationService::current()->Notify( - NotificationType::SSL_STATE_CHANGED, + NotificationType::SSL_VISIBLE_STATE_CHANGED, Source(error->manager()->controller()), Details( error->manager()->controller()->GetActiveEntry())); @@ -322,7 +322,7 @@ class DefaultPolicy : public SSLPolicy { AddMessageToConsole(msg, MESSAGE_LEVEL_WARNING); NotificationService::current()->Notify( - NotificationType::SSL_STATE_CHANGED, + NotificationType::SSL_VISIBLE_STATE_CHANGED, Source(navigation_controller), Details(entry)); } @@ -420,7 +420,7 @@ void SSLPolicy::OnRequestStarted(SSLManager* manager, const GURL& url, if (changed) { // Only send the notification when something actually changed. NotificationService::current()->Notify( - NotificationType::SSL_STATE_CHANGED, + NotificationType::SSL_VISIBLE_STATE_CHANGED, Source(manager->controller()), NotificationService::NoDetails()); } -- cgit v1.1