| Index: chrome/browser/web_applications/web_app.cc
|
| diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc
|
| index 118492e7156fa9b8214c390f4a785ba8dd961266..290beb950d361776b1e5d377ba68019ba1b6074a 100644
|
| --- a/chrome/browser/web_applications/web_app.cc
|
| +++ b/chrome/browser/web_applications/web_app.cc
|
| @@ -13,8 +13,6 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/threading/thread.h"
|
| #include "chrome/browser/extensions/extension_ui_util.h"
|
| -#include "chrome/browser/extensions/tab_helper.h"
|
| -#include "chrome/browser/favicon/favicon_tab_helper.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_version_info.h"
|
| @@ -40,6 +38,11 @@
|
| #include "ui/gfx/icon_util.h"
|
| #endif
|
|
|
| +#if defined(TOOLKIT_VIEWS)
|
| +#include "chrome/browser/extensions/tab_helper.h"
|
| +#include "chrome/browser/favicon/favicon_tab_helper.h"
|
| +#endif
|
| +
|
| using content::BrowserThread;
|
|
|
| namespace {
|
| @@ -237,6 +240,7 @@ ShortcutLocations::ShortcutLocations()
|
| in_quick_launch_bar(false) {
|
| }
|
|
|
| +#if defined(TOOLKIT_VIEWS)
|
| void GetShortcutInfoForTab(content::WebContents* web_contents,
|
| ShortcutInfo* info) {
|
| DCHECK(info); // Must provide a valid info.
|
| @@ -260,6 +264,7 @@ void GetShortcutInfoForTab(content::WebContents* web_contents,
|
| Profile::FromBrowserContext(web_contents->GetBrowserContext());
|
| info->profile_path = profile->GetPath();
|
| }
|
| +#endif
|
|
|
| #if !defined(OS_WIN)
|
| void UpdateShortcutForTabContents(content::WebContents* web_contents) {}
|
|
|