| Index: chrome/browser/profiles/profile_window.h
|
| diff --git a/chrome/browser/profiles/profile_window.h b/chrome/browser/profiles/profile_window.h
|
| index 1339d9497000e90de51ad6e35c018840758964fa..3c5510f8fed6f30566ff9e61169978b9b9270382 100644
|
| --- a/chrome/browser/profiles/profile_window.h
|
| +++ b/chrome/browser/profiles/profile_window.h
|
| @@ -6,6 +6,7 @@
|
| #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
|
|
|
| #include "base/callback_forward.h"
|
| +#include "chrome/browser/profiles/profile_metrics.h"
|
| #include "chrome/browser/ui/host_desktop.h"
|
| #include "chrome/browser/ui/startup/startup_types.h"
|
|
|
| @@ -35,11 +36,11 @@ void FindOrCreateNewWindowForProfile(
|
| // even if a window for that profile already exists. When the browser is
|
| // opened, |callback| will be run if it isn't null.
|
|
|
| -void SwitchToProfile(
|
| - const base::FilePath& path,
|
| - chrome::HostDesktopType desktop_type,
|
| - bool always_create,
|
| - ProfileSwitchingDoneCallback callback);
|
| +void SwitchToProfile(const base::FilePath& path,
|
| + chrome::HostDesktopType desktop_type,
|
| + bool always_create,
|
| + ProfileSwitchingDoneCallback 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,
|
| @@ -49,7 +50,8 @@ void SwitchToGuestProfile(chrome::HostDesktopType desktop_type,
|
| // 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,
|
| - ProfileSwitchingDoneCallback callback);
|
| + ProfileSwitchingDoneCallback callback,
|
| + ProfileMetrics::ProfileAdd metric);
|
|
|
| // Closes all browser windows that belong to the guest profile.
|
| void CloseGuestProfileWindows();
|
|
|