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

Unified Diff: chrome/browser/ui/webui/options/personal_options_handler.h

Issue 7400032: Multi-profile WebUI settings (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: profiles_icon_list.js -> profiles_icon_grid.js Created 9 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/webui/options/personal_options_handler.h
diff --git a/chrome/browser/ui/webui/options/personal_options_handler.h b/chrome/browser/ui/webui/options/personal_options_handler.h
index 7f23fbc72ffae27eefd32de0621df58904bd9be1..a2cfe0b043b3690e9799c7626d176f0e1b4f0fae 100644
--- a/chrome/browser/ui/webui/options/personal_options_handler.h
+++ b/chrome/browser/ui/webui/options/personal_options_handler.h
@@ -53,6 +53,20 @@ class PersonalOptionsHandler : public OptionsPageUIHandler,
NotificationRegistrar registrar_;
#endif
+ // Sends an array of Profile objects to javascript.
+ // Each object is of the form:
+ // profileInfo = {
+ // name: "Profile Name",
+ // iconURL: "chrome://path/to/icon/image",
+ // filePath: "/path/to/profile/data/on/disk",
+ // isCurrentProfile: false
+ // };
+ void SendProfilesInfo();
+
+ // Asynchronously opens a new browser window to create a new profile.
+ // |args| is not used.
+ void CreateProfile(const ListValue* args);
+
// True if the multiprofiles switch is enabled.
bool multiprofile_;
« no previous file with comments | « chrome/browser/ui/webui/options/options_ui.cc ('k') | chrome/browser/ui/webui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698