| Index: chrome/browser/profiles/profile_window.h
|
| diff --git a/chrome/browser/profiles/profile_window.h b/chrome/browser/profiles/profile_window.h
|
| index bf98403537790642080ba5269a8b4365c0ffd8f7..f66b776a447596d332ffa8bfa1aaebf7ef6b1326 100644
|
| --- a/chrome/browser/profiles/profile_window.h
|
| +++ b/chrome/browser/profiles/profile_window.h
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/browser/ui/startup/startup_types.h"
|
|
|
| class Profile;
|
| +namespace base { class FilePath; }
|
|
|
| namespace profiles {
|
|
|
| @@ -25,6 +26,14 @@ void FindOrCreateNewWindowForProfile(
|
| chrome::HostDesktopType desktop_type,
|
| bool always_create);
|
|
|
| +// Opens a Browser with the specified profile given by |path|.
|
| +// If |always_create| is true then a new window is created
|
| +// even if a window for that profile already exists.
|
| +void SwitchToProfile(
|
| + const base::FilePath& path,
|
| + chrome::HostDesktopType desktop_type,
|
| + bool always_create);
|
| +
|
| } // namespace profiles
|
|
|
| #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
|
|
|