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

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

Issue 18421007: [win] Set the profile path when enabling the app launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, and fix a few things Created 7 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
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 97b8ef6cd9d926eb184d25d601f40b904db31ff9..4d90cb0bf7e22ca2ff38af69f5607408f666dba4 100644
--- a/chrome/browser/ui/app_list/app_list_service.h
+++ b/chrome/browser/ui/app_list/app_list_service.h
@@ -36,6 +36,7 @@ class AppListService {
virtual base::FilePath GetProfilePath(
const base::FilePath& user_data_dir) = 0;
+ virtual void SetProfilePath(const base::FilePath& profile_path) = 0;
static void RecordShowTimings(const CommandLine& command_line);
@@ -45,9 +46,6 @@ class AppListService {
// Dismiss the app list.
virtual void DismissAppList() = 0;
- // TODO(koz): Merge this into ShowAppList().
benwells 2013/07/12 01:41:48 I think this renaming is a cleanup and not necessa
tapted 2013/07/12 04:58:27 The 2-3 parts of this function were (a) set the lo
- virtual void SetAppListProfile(const base::FilePath& profile_file_path) = 0;
-
// Show the app list for the profile configured in the user data dir for the
// current browser process.
virtual void ShowForSavedProfile() = 0;
@@ -60,7 +58,7 @@ class AppListService {
// Enable the app list. What this does specifically will depend on the host
// operating system and shell.
- virtual void EnableAppList() = 0;
+ virtual void EnableAppList(Profile* initial_profile) = 0;
// Get the window the app list is in, or NULL if the app list isn't visible.
virtual gfx::NativeWindow GetAppListWindow() = 0;

Powered by Google App Engine
This is Rietveld 408576698