Index: chrome/browser/autocomplete/shortcuts_backend.cc |
diff --git a/chrome/browser/autocomplete/shortcuts_backend.cc b/chrome/browser/autocomplete/shortcuts_backend.cc |
index 5acfc9f877203e0d480f15cf96db54e4bc3a5767..50d3b63e726eaef1bbec692e22fd7d6233703133 100644 |
--- a/chrome/browser/autocomplete/shortcuts_backend.cc |
+++ b/chrome/browser/autocomplete/shortcuts_backend.cc |
@@ -30,6 +30,7 @@ |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_source.h" |
+#include "extensions/browser/notification_types.h" |
#include "extensions/common/extension.h" |
using content::BrowserThread; |
@@ -83,7 +84,8 @@ ShortcutsBackend::ShortcutsBackend(Profile* profile, bool suppress_db) |
// |profile| can be NULL in tests. |
if (profile) { |
notification_registrar_.Add( |
- this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
+ this, |
+ extensions::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
content::Source<Profile>(profile)); |
notification_registrar_.Add( |
this, chrome::NOTIFICATION_HISTORY_URLS_DELETED, |
@@ -175,7 +177,7 @@ void ShortcutsBackend::Observe(int type, |
if (!initialized()) |
return; |
- if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED) { |
+ if (type == extensions::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED) { |
// When an extension is unloaded, we want to remove any Shortcuts associated |
// with it. |
DeleteShortcutsWithURL(content::Details<extensions::UnloadedExtensionInfo>( |