| Index: chrome/browser/extensions/app_shortcut_manager.cc
|
| diff --git a/chrome/browser/extensions/app_shortcut_manager.cc b/chrome/browser/extensions/app_shortcut_manager.cc
|
| index ea467f0923ea43ee2131433e8c908a3794f0c82e..49f15116beeb34f227936f5c541049761cb0ab03 100644
|
| --- a/chrome/browser/extensions/app_shortcut_manager.cc
|
| +++ b/chrome/browser/extensions/app_shortcut_manager.cc
|
| @@ -63,9 +63,9 @@ AppShortcutManager::~AppShortcutManager() {}
|
| void AppShortcutManager::Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| -#if !defined(OS_MACOSX)
|
| switch (type) {
|
| case chrome::NOTIFICATION_EXTENSION_INSTALLED: {
|
| +#if !defined(OS_MACOSX)
|
| const Extension* extension = content::Details<const Extension>(
|
| details).ptr();
|
| if (extension->is_platform_app() &&
|
| @@ -83,8 +83,9 @@ void AppShortcutManager::Observe(int type,
|
| }
|
| #else
|
| UpdateApplicationShortcuts(extension);
|
| -#endif
|
| +#endif // defined(OS_WIN)
|
| }
|
| +#endif // !defined(OS_MACOSX)
|
| break;
|
| }
|
| case chrome::NOTIFICATION_EXTENSION_UNINSTALLED: {
|
| @@ -96,7 +97,6 @@ void AppShortcutManager::Observe(int type,
|
| default:
|
| NOTREACHED();
|
| }
|
| -#endif
|
| }
|
|
|
| #if defined(OS_WIN)
|
|
|