Index: chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc |
diff --git a/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc b/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc |
index f0674282ba355079c188f36a9e70b9d4a4f9a3fd..5635f8032ca74eda1e92bb693988963fd7214360 100644 |
--- a/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc |
+++ b/chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc |
@@ -75,7 +75,7 @@ LogPrivateAPI::LogPrivateAPI(content::BrowserContext* context) |
: profile_(Profile::FromBrowserContext(context)), |
logging_net_internals_(false) { |
registrar_.Add(this, |
- chrome::NOTIFICATION_EXTENSION_UNLOADED, |
+ chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
content::Source<Profile>(profile_)); |
} |
@@ -168,7 +168,7 @@ void LogPrivateAPI::StopNetInternalLogging() { |
void LogPrivateAPI::Observe(int type, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
- if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) { |
+ if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED) { |
const Extension* extension = |
content::Details<const UnloadedExtensionInfo>(details)->extension; |
StopNetInternalsWatch(extension->id()); |