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

Unified Diff: chrome/browser/profiles/profile_window.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/profiles/profile_window.h
diff --git a/chrome/browser/profiles/profile_window.h b/chrome/browser/profiles/profile_window.h
index 783dc7bc4b23d5da8c61af318bc7fbd47cd44a59..854b62cbc646ef31eb52503f0ee12145635b9bab 100644
--- a/chrome/browser/profiles/profile_window.h
+++ b/chrome/browser/profiles/profile_window.h
@@ -57,7 +57,7 @@ void FindOrCreateNewWindowForProfile(
Profile* profile,
chrome::startup::IsProcessStartup process_startup,
chrome::startup::IsFirstRun is_first_run,
- chrome::HostDesktopType desktop_type,
+ ui::HostDesktopType desktop_type,
bool always_create);
// Opens a Browser with the specified profile given by |path|.
@@ -66,13 +66,13 @@ void FindOrCreateNewWindowForProfile(
// opened, |callback| will be run if it isn't null.
void SwitchToProfile(const base::FilePath& path,
- chrome::HostDesktopType desktop_type,
+ ui::HostDesktopType desktop_type,
bool always_create,
ProfileManager::CreateCallback callback,
ProfileMetrics::ProfileOpen metric);
// Opens a Browser for the guest profile and runs |callback| if it isn't null.
-void SwitchToGuestProfile(chrome::HostDesktopType desktop_type,
+void SwitchToGuestProfile(ui::HostDesktopType desktop_type,
ProfileManager::CreateCallback callback);
// Returns true if |profile| has potential profile switch targets, ie there's at
@@ -84,7 +84,7 @@ bool HasProfileSwitchTargets(Profile* profile);
// Creates a new profile from the next available profile directory, and
// opens a new browser window for the profile once it is ready. When the browser
// is opened, |callback| will be run if it isn't null.
-void CreateAndSwitchToNewProfile(chrome::HostDesktopType desktop_type,
+void CreateAndSwitchToNewProfile(ui::HostDesktopType desktop_type,
ProfileManager::CreateCallback callback,
ProfileMetrics::ProfileAdd metric);

Powered by Google App Engine
This is Rietveld 408576698