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

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

Issue 127753002: --reset-app-list-install-state resets before trying to enable app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | no next file » | 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 97acf8a512f13d33c44b7691481ef8f42319b26a..043da34896f22c3d8a14cce14981d3f0535f6bdb 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
@@ -273,11 +273,11 @@ void AppListServiceImpl::InvalidatePendingProfileLoads() {
}
void AppListServiceImpl::HandleCommandLineFlags(Profile* initial_profile) {
- if (command_line_.HasSwitch(switches::kEnableAppList))
- EnableAppList(initial_profile);
-
if (command_line_.HasSwitch(switches::kResetAppListInstallState))
local_state_->SetBoolean(prefs::kAppLauncherHasBeenEnabled, false);
+
+ if (command_line_.HasSwitch(switches::kEnableAppList))
+ EnableAppList(initial_profile);
}
void AppListServiceImpl::SendUsageStats() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698