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

Unified Diff: chrome/browser/ui/views/ash/app_list/search_builder.cc

Issue 10695203: app_list: Create an app_list_switches.* to put all app list switches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | ui/app_list/app_list.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/ash/app_list/search_builder.cc
diff --git a/chrome/browser/ui/views/ash/app_list/search_builder.cc b/chrome/browser/ui/views/ash/app_list/search_builder.cc
index c9fec4f9de0874578e3726c6fcd5131b39d0aff3..4310cae3dff0a70dab672c65034ebe75cd18c898 100644
--- a/chrome/browser/ui/views/ash/app_list/search_builder.cc
+++ b/chrome/browser/ui/views/ash/app_list/search_builder.cc
@@ -6,7 +6,6 @@
#include <string>
-#include "ash/ash_switches.h"
#include "base/command_line.h"
#include "chrome/browser/autocomplete/autocomplete_controller.h"
#include "chrome/browser/autocomplete/autocomplete_input.h"
@@ -27,6 +26,7 @@
#include "content/public/browser/web_contents.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
+#include "ui/app_list/app_list_switches.h"
#include "ui/app_list/search_box_model.h"
#include "ui/app_list/search_result.h"
#include "ui/base/l10n/l10n_util.h"
@@ -184,7 +184,7 @@ SearchBuilder::SearchBuilder(
GetImageSkiaNamed(IDR_OMNIBOX_SEARCH));
if (CommandLine::ForCurrentProcess()->HasSwitch(
- ash::switches::kAppListShowAppsOnly)) {
+ app_list::switches::kAppListShowAppsOnly)) {
// ExtensionAppProvider is a synchronous provider and does not really need a
// listener.
apps_provider_ = new ExtensionAppProvider(NULL, profile);
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | ui/app_list/app_list.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698