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

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

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.cc
diff --git a/chrome/browser/ui/webui/options/create_profile_handler.cc b/chrome/browser/ui/webui/options/create_profile_handler.cc
index a2ac78789ee5f99d335d1ef846e7e75d4ec7ec75..836b6f058c857063c115c939a87d221b0874e171 100644
--- a/chrome/browser/ui/webui/options/create_profile_handler.cc
+++ b/chrome/browser/ui/webui/options/create_profile_handler.cc
@@ -113,7 +113,7 @@ void CreateProfileHandler::CreateProfile(const base::ListValue* args) {
void CreateProfileHandler::OnProfileCreated(
bool create_shortcut,
- chrome::HostDesktopType desktop_type,
+ ui::HostDesktopType desktop_type,
const std::string& supervised_user_id,
Profile* profile,
Profile::CreateStatus status) {
@@ -149,7 +149,7 @@ void CreateProfileHandler::OnProfileCreated(
void CreateProfileHandler::HandleProfileCreationSuccess(
bool create_shortcut,
- chrome::HostDesktopType desktop_type,
+ ui::HostDesktopType desktop_type,
const std::string& supervised_user_id,
Profile* profile) {
switch (profile_creation_type_) {
@@ -173,7 +173,7 @@ void CreateProfileHandler::HandleProfileCreationSuccess(
void CreateProfileHandler::CreateShortcutAndShowSuccess(
bool create_shortcut,
- chrome::HostDesktopType desktop_type,
+ ui::HostDesktopType desktop_type,
Profile* profile) {
if (create_shortcut) {
ProfileShortcutManager* shortcut_manager =
@@ -377,7 +377,7 @@ void CreateProfileHandler::CancelProfileRegistration(bool user_initiated) {
void CreateProfileHandler::RegisterSupervisedUser(
bool create_shortcut,
- chrome::HostDesktopType desktop_type,
+ ui::HostDesktopType desktop_type,
const std::string& supervised_user_id,
Profile* new_profile) {
DCHECK_EQ(profile_path_being_created_.value(),
@@ -402,7 +402,7 @@ void CreateProfileHandler::RegisterSupervisedUser(
void CreateProfileHandler::OnSupervisedUserRegistered(
bool create_shortcut,
- chrome::HostDesktopType desktop_type,
+ ui::HostDesktopType desktop_type,
Profile* profile,
const GoogleServiceAuthError& error) {
GoogleServiceAuthError::State state = error.state();

Powered by Google App Engine
This is Rietveld 408576698