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

Unified Diff: chrome/browser/ui/webui/options/manage_profile_handler.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: respond to comments 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/webui/options/manage_profile_handler.h
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.h b/chrome/browser/ui/webui/options/manage_profile_handler.h
index 0149b5700377f778b4a1652bedf256da75ba9296..7a2f67420529115767b9fbe6e2a78f263554f167 100644
--- a/chrome/browser/ui/webui/options/manage_profile_handler.h
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.h
@@ -74,6 +74,13 @@ class ManageProfileHandler : public OptionsPageUIHandler {
// |args| is of the form: [ {string} profileFilePath ]
void DeleteProfile(const base::ListValue* args);
+#if defined(ENABLE_SETTINGS_APP)
+ // Callback for the "profilesAppListSwitch" message. Asks the
+ // app_list_controller to change the profile registered for the AppList.
+ // |args| is of the form: [ {string} profileFilePath ]
+ void ProfilesAppListSwitch(const base::ListValue* args);
Evan Stade 2013/01/23 22:18:33 can you make this function and message name more s
koz (OOO until 15th September) 2013/01/25 00:32:46 I've changed it to SwitchAppListProfile().
+#endif
+
// Callback for the 'profileIconSelectionChanged' message. Used to update the
// name in the manager profile dialog based on the selected icon.
void ProfileIconSelectionChanged(const base::ListValue* args);

Powered by Google App Engine
This is Rietveld 408576698