Index: chrome/browser/ui/webui/options/browser_options_handler.h |
=================================================================== |
--- chrome/browser/ui/webui/options/browser_options_handler.h (revision 203598) |
+++ chrome/browser/ui/webui/options/browser_options_handler.h (working copy) |
@@ -153,15 +153,20 @@ |
// 3: a flag stating whether the user should be managed (optional, boolean) |
void CreateProfile(const base::ListValue* args); |
- // Handles final tasks when a new profile has been created, running any queued |
- // callbacks and updating the UI. |
- void OnProfileCreated( |
+ // Updates the UI as the final task after a new profile has been created. |
+ void OnProfileCreatedShowUserFeedback( |
chrome::HostDesktopType desktop_type, |
bool is_managed, |
- const std::vector<ProfileManager::CreateCallback>& callbacks, |
Profile* profile, |
Profile::CreateStatus status); |
+ // Deletes the given profile. Expects one argument: |
+ // 0: profile file path (string) |
+ void DeleteProfile(const base::ListValue* args); |
+ |
+ // Deletes the profile at the given |file_path|. |
+ void DeleteProfileAtPath(base::FilePath file_path); |
+ |
void ObserveThemeChanged(); |
void ThemesReset(const base::ListValue* args); |
#if defined(TOOLKIT_GTK) |