| Index: content/browser/ssl/ssl_manager.cc
|
| ===================================================================
|
| --- content/browser/ssl/ssl_manager.cc (revision 95567)
|
| +++ content/browser/ssl/ssl_manager.cc (working copy)
|
| @@ -18,6 +18,7 @@
|
| #include "content/browser/tab_contents/provisional_load_details.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/common/notification_service.h"
|
| +#include "content/common/notification_source.h"
|
| #include "net/base/cert_status_flags.h"
|
|
|
| // static
|
| @@ -44,10 +45,11 @@
|
| }
|
|
|
| // static
|
| -void SSLManager::NotifySSLInternalStateChanged() {
|
| +void SSLManager::NotifySSLInternalStateChanged(
|
| + NavigationController* controller) {
|
| NotificationService::current()->Notify(
|
| content::NOTIFICATION_SSL_INTERNAL_STATE_CHANGED,
|
| - NotificationService::AllSources(),
|
| + Source<content::BrowserContext>(controller->browser_context()),
|
| NotificationService::NoDetails());
|
| }
|
|
|
| @@ -105,7 +107,8 @@
|
| registrar_.Add(this, content::NOTIFICATION_LOAD_FROM_MEMORY_CACHE,
|
| Source<NavigationController>(controller_));
|
| registrar_.Add(this, content::NOTIFICATION_SSL_INTERNAL_STATE_CHANGED,
|
| - NotificationService::AllSources());
|
| + Source<content::BrowserContext>(
|
| + controller_->browser_context()));
|
| }
|
|
|
| SSLManager::~SSLManager() {
|
|
|