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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.cc

Issue 1206163002: Remove chrome://flags/#enable-app-list, move kEnableAppList to app_list:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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') | chrome/browser/ui/app_list/app_list_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_service_impl.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc
index 148b895d7dfaaf0f78d962b5fc08ed27174fcc34..885decb69b7ecc40f57e662b4b992d12271bf6df 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
@@ -22,9 +22,9 @@
#include "chrome/browser/ui/app_list/profile_loader.h"
#include "chrome/browser/ui/app_list/profile_store.h"
#include "chrome/common/chrome_constants.h"
-#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "ui/app_list/app_list_model.h"
+#include "ui/app_list/app_list_switches.h"
namespace {
@@ -437,10 +437,10 @@ void AppListServiceImpl::PerformStartupChecks(Profile* initial_profile) {
// returns.
RecordAppListDiscoverability(local_state_, true);
- if (command_line_.HasSwitch(switches::kResetAppListInstallState))
+ if (command_line_.HasSwitch(app_list::switches::kResetAppListInstallState))
local_state_->SetBoolean(prefs::kAppLauncherHasBeenEnabled, false);
- if (command_line_.HasSwitch(switches::kEnableAppList))
+ if (command_line_.HasSwitch(app_list::switches::kEnableAppList))
EnableAppList(initial_profile, ENABLE_VIA_COMMAND_LINE);
if (!base::ThreadTaskRunnerHandle::IsSet())
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/app_list/app_list_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698