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

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

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 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/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 6ee91ba07b6959eade3d60287905f834eb026a34..2a5b8486f69b842c79f9b6e14eff1f89f4e4d36c 100644
--- a/chrome/browser/ui/webui/options/create_profile_handler.h
+++ b/chrome/browser/ui/webui/options/create_profile_handler.h
@@ -74,20 +74,20 @@ 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,
+ ui::HostDesktopType desktop_type,
const std::string& supervised_user_id,
Profile* profile,
Profile::CreateStatus status);
void HandleProfileCreationSuccess(bool create_shortcut,
- chrome::HostDesktopType desktop_type,
+ ui::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,
+ ui::HostDesktopType desktop_type,
Profile* profile);
// Updates the UI to show an error when creating a profile.
@@ -142,13 +142,13 @@ 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,
+ ui::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,
+ ui::HostDesktopType desktop_type,
Profile* profile,
const GoogleServiceAuthError& error);

Powered by Google App Engine
This is Rietveld 408576698