Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: chrome/browser/ui/views/app_list/app_list_controller_win.cc

Issue 12391047: apps: Stop depending on chrome_switches.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/app_list/app_list_controller_win.cc
diff --git a/chrome/browser/ui/views/app_list/app_list_controller_win.cc b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
index b2c62310f35932408fecc5805b09709fbf718279..699e5e9ba99e419b65764f51da2f4a6110e0b17d 100644
--- a/chrome/browser/ui/views/app_list/app_list_controller_win.cc
+++ b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
@@ -4,6 +4,7 @@
#include <sstream>
+#include "apps/switches.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/lazy_instance.h"
@@ -710,7 +711,7 @@ void CheckAppListTaskbarShortcutOnFileThread(
.AddExtension(installer::kLnkExt));
const bool should_show =
CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kShowAppListShortcut);
+ apps::switches::kShowAppListShortcut);
// This will not reshow a shortcut if it has been unpinned manually by the
// user, as that will not delete the shortcut file.
« no previous file with comments | « chrome/browser/extensions/api/webstore_private/webstore_private_api.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698