Index: chrome/browser/profiles/profile_window.h |
diff --git a/chrome/browser/profiles/profile_window.h b/chrome/browser/profiles/profile_window.h |
index 0232662133f8b73a56f346afa08ef10cee9c1e3f..14be0a2bd86172a8df3a7909e945488bff6df61b 100644 |
--- a/chrome/browser/profiles/profile_window.h |
+++ b/chrome/browser/profiles/profile_window.h |
@@ -10,7 +10,6 @@ |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/profiles/profile_metrics.h" |
#include "chrome/browser/ui/browser_window.h" |
-#include "chrome/browser/ui/host_desktop.h" |
#include "chrome/browser/ui/profile_chooser_constants.h" |
#include "chrome/browser/ui/startup/startup_types.h" |
@@ -58,7 +57,6 @@ void FindOrCreateNewWindowForProfile( |
Profile* profile, |
chrome::startup::IsProcessStartup process_startup, |
chrome::startup::IsFirstRun is_first_run, |
- chrome::HostDesktopType desktop_type, |
bool always_create); |
// Opens a Browser with the specified profile given by |path|. |
@@ -68,14 +66,12 @@ void FindOrCreateNewWindowForProfile( |
#if !defined(OS_ANDROID) |
void SwitchToProfile(const base::FilePath& path, |
- chrome::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, |
- ProfileManager::CreateCallback callback); |
+void SwitchToGuestProfile(ProfileManager::CreateCallback callback); |
#endif |
// Returns true if |profile| has potential profile switch targets, ie there's at |
@@ -87,8 +83,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, |
- ProfileManager::CreateCallback callback, |
+void CreateAndSwitchToNewProfile(ProfileManager::CreateCallback callback, |
ProfileMetrics::ProfileAdd metric); |
// Closes all browser windows that belong to the guest profile. |