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

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

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, remove dead code in app_list_menu_views, add ui assets Created 7 years, 3 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/app_list/app_list_service_impl.h
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.h b/chrome/browser/ui/app_list/app_list_service_impl.h
index 8118547f248bc544c779d22e1e1b7fac6dd4b3c4..624f6547dfecfbac9d2f1ccf3baf0a6e4c66551a 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.h
+++ b/chrome/browser/ui/app_list/app_list_service_impl.h
@@ -28,6 +28,14 @@ class AppListServiceImpl : public AppListService,
static void RecordAppListAppLaunch();
static void SendAppListStats();
+ // AppListService overrides:
+ virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE;
+
+ // Shows the app list for the profile at the current |profile_path|. If the
+ // profile has not been loaded, this will load the profile and then show the
+ // app list.
+ virtual void Show() OVERRIDE;
+
protected:
AppListServiceImpl();
virtual ~AppListServiceImpl();
@@ -54,8 +62,6 @@ class AppListServiceImpl : public AppListService,
// Returns the app list path configured in BrowserProcess::local_state().
virtual base::FilePath GetProfilePath(
const base::FilePath& user_data_dir) OVERRIDE;
- virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE;
- virtual void Show() OVERRIDE;
virtual void EnableAppList(Profile* initial_profile) OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698