Index: chrome/browser/ui/webui/options/create_profile_handler.h |
diff --git a/chrome/browser/ui/webui/options/create_profile_handler.h b/chrome/browser/ui/webui/options/create_profile_handler.h |
index cb017faf97160a6375c7d6cf60805cb1a67f31ae..dafcd91bb90b054fa966c147075cfab65636e70f 100644 |
--- a/chrome/browser/ui/webui/options/create_profile_handler.h |
+++ b/chrome/browser/ui/webui/options/create_profile_handler.h |
@@ -10,7 +10,6 @@ |
#include "base/time/time.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_window.h" |
-#include "chrome/browser/ui/host_desktop.h" |
#include "chrome/browser/ui/webui/options/options_ui.h" |
#include "google_apis/gaia/google_service_auth_error.h" |
@@ -75,21 +74,17 @@ class CreateProfileHandler: public OptionsPageUIHandler { |
// then proceed with the registration step. Otherwise, update the UI |
// as the final task after a new profile has been created. |
void OnProfileCreated(bool create_shortcut, |
- chrome::HostDesktopType desktop_type, |
const std::string& supervised_user_id, |
Profile* profile, |
Profile::CreateStatus status); |
void HandleProfileCreationSuccess(bool create_shortcut, |
- chrome::HostDesktopType desktop_type, |
const std::string& supervised_user_id, |
Profile* profile); |
// Creates desktop shortcut and updates the UI to indicate success |
// when creating a profile. |
- void CreateShortcutAndShowSuccess(bool create_shortcut, |
- chrome::HostDesktopType desktop_type, |
- Profile* profile); |
+ void CreateShortcutAndShowSuccess(bool create_shortcut, Profile* profile); |
// Updates the UI to show an error when creating a profile. |
void ShowProfileCreationError(Profile* profile, const base::string16& error); |
@@ -143,13 +138,11 @@ class CreateProfileHandler: public OptionsPageUIHandler { |
// After a new supervised-user profile has been created, registers the user |
// with the management server. |
void RegisterSupervisedUser(bool create_shortcut, |
- chrome::HostDesktopType desktop_type, |
const std::string& managed_user_id, |
Profile* new_profile); |
// Called back with the result of the supervised user registration. |
void OnSupervisedUserRegistered(bool create_shortcut, |
- chrome::HostDesktopType desktop_type, |
Profile* profile, |
const GoogleServiceAuthError& error); |