| Index: chrome/browser/autocomplete/shortcuts_backend.cc
|
| diff --git a/chrome/browser/autocomplete/shortcuts_backend.cc b/chrome/browser/autocomplete/shortcuts_backend.cc
|
| index 2f50627d90da163f45eb2059b5114bf43481d94a..b7d5d780a16a96bdf486113031e85ca63389d819 100644
|
| --- a/chrome/browser/autocomplete/shortcuts_backend.cc
|
| +++ b/chrome/browser/autocomplete/shortcuts_backend.cc
|
| @@ -79,10 +79,12 @@ ShortcutsBackend::ShortcutsBackend(Profile* profile, bool suppress_db)
|
| }
|
| // |profile| can be NULL in tests.
|
| if (profile) {
|
| - notification_registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| - content::Source<Profile>(profile));
|
| - notification_registrar_.Add(this, chrome::NOTIFICATION_HISTORY_URLS_DELETED,
|
| - content::Source<Profile>(profile));
|
| + notification_registrar_.Add(
|
| + this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| + content::Source<Profile>(profile));
|
| + notification_registrar_.Add(
|
| + this, chrome::NOTIFICATION_HISTORY_URLS_DELETED,
|
| + content::Source<Profile>(profile));
|
| }
|
| }
|
|
|
| @@ -156,7 +158,7 @@ void ShortcutsBackend::Observe(int type,
|
| if (!initialized())
|
| return;
|
|
|
| - if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) {
|
| + if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED) {
|
| // When an extension is unloaded, we want to remove any Shortcuts associated
|
| // with it.
|
| DeleteShortcutsWithURL(content::Details<extensions::UnloadedExtensionInfo>(
|
|
|