Chromium Code Reviews| Index: chrome/browser/extensions/tab_helper.cc |
| diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc |
| index 16eed180460110d309c2a45380ad0dca1b717e1a..f493d6f07f52c972791569c67ab5672a3a953865 100644 |
| --- a/chrome/browser/extensions/tab_helper.cc |
| +++ b/chrome/browser/extensions/tab_helper.cc |
| @@ -34,7 +34,6 @@ |
| #include "chrome/browser/ui/browser_finder.h" |
| #include "chrome/browser/ui/browser_window.h" |
| #include "chrome/browser/ui/host_desktop.h" |
| -#include "chrome/browser/ui/web_applications/web_app_ui.h" |
| #include "chrome/browser/web_applications/web_app.h" |
| #include "chrome/common/chrome_switches.h" |
| #include "chrome/common/extensions/chrome_extension_messages.h" |
| @@ -70,6 +69,10 @@ |
| #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" |
| #endif |
| +#if defined(OS_WIN) |
| +#include "chrome/browser/web_applications/web_app_win.h" |
| +#endif |
| + |
| using content::NavigationController; |
| using content::NavigationEntry; |
| using content::RenderViewHost; |
| @@ -349,7 +352,9 @@ void TabHelper::OnDidGetApplicationInfo(int32 page_id, |
| break; |
| } |
| case UPDATE_SHORTCUT: { |
| +#if defined(OS_WIN) |
|
benwells
2014/03/28 02:55:26
I'd prefer to keep the #if in web app code.
That
jackhou1
2014/04/02 03:25:56
Done.
|
| web_app::UpdateShortcutForTabContents(web_contents()); |
| +#endif |
| break; |
| } |
| default: |