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

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

Issue 11968034: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: git://nomatter.syd/chromium/src.git@master
Patch Set: Created 7 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
Index: chrome/browser/ui/app_list/app_list_util.h
diff --git a/chrome/browser/ui/app_list/app_list_util.h b/chrome/browser/ui/app_list/app_list_util.h
index 82e3bac1894d534bbcb967183745784153dfd423..f04eab6e60ae02c7bba24e0d7f0e6d606bd42c37 100644
--- a/chrome/browser/ui/app_list/app_list_util.h
+++ b/chrome/browser/ui/app_list/app_list_util.h
@@ -5,13 +5,24 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_
#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_
+class FilePath;
+class Profile;
+
namespace chrome {
// Do any once off initialization needed for the app list.
-void InitAppList();
+void InitAppList(Profile* profile);
// Show the app list.
-void ShowAppList();
+void ShowAppList(Profile* profile);
+
+#if defined(ENABLE_SETTINGS_APP)
+// Change the profile that the app list is showing.
+void UpdateProfilePath(const FilePath& profile_file_path);
benwells 2013/01/18 06:18:46 Nit UpdateAppListProfile might be a better name: m
koz (OOO until 15th September) 2013/01/20 23:32:00 I've changed it to SetAppListProfile() (and made t
+
+// Get the path of the profile to be used with the app list.
+FilePath GetAppListProfilePath(const FilePath& user_data_dir);
+#endif
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698