Index: chrome/browser/apps/shortcut_manager.cc |
diff --git a/chrome/browser/apps/shortcut_manager.cc b/chrome/browser/apps/shortcut_manager.cc |
index ed4e24f70dd0b1fec40ea45604f46b65571d00c0..66ba3d75838db500072d969a9ed93cd920d3c61f 100644 |
--- a/chrome/browser/apps/shortcut_manager.cc |
+++ b/chrome/browser/apps/shortcut_manager.cc |
@@ -75,7 +75,8 @@ AppShortcutManager::AppShortcutManager(Profile* profile) |
content::BrowserThread::UI) || |
content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, |
+ registrar_.Add(this, |
+ chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED, |
content::Source<Profile>(profile_)); |
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, |
content::Source<Profile>(profile_)); |
@@ -108,7 +109,7 @@ void AppShortcutManager::Observe(int type, |
OnceOffCreateShortcuts(); |
break; |
} |
- case chrome::NOTIFICATION_EXTENSION_INSTALLED: { |
+ case chrome::NOTIFICATION_EXTENSION_INSTALLED_DEPRECATED: { |
#if defined(OS_MACOSX) |
if (!apps::IsAppShimsEnabled()) |
break; |