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

Unified Diff: chrome/browser/ui/app_list/app_list_service.h

Issue 350883002: Refactor handling of --show-app-list command line. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix disabled stub [android] Created 6 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 | « no previous file | chrome/browser/ui/app_list/app_list_service.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.h
diff --git a/chrome/browser/ui/app_list/app_list_service.h b/chrome/browser/ui/app_list/app_list_service.h
index ce923006b03b40521499cf2769337d17bcc0c94b..f712ee07a6c67e8d7c2475b86aab5575b97d749b 100644
--- a/chrome/browser/ui/app_list/app_list_service.h
+++ b/chrome/browser/ui/app_list/app_list_service.h
@@ -51,7 +51,10 @@ class AppListService {
static void RegisterPrefs(PrefRegistrySimple* registry);
- static void RecordShowTimings(const base::CommandLine& command_line);
+ // Initializes the AppListService, and returns true if |command_line| is for
+ // showing the app list.
+ static bool HandleLaunchCommandLine(const base::CommandLine& command_line,
+ Profile* launch_profile);
// Indicates that |callback| should be called next time the app list is
// painted.
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698