Chromium Code Reviews| Index: chrome/browser/profiles/profile_manager.h |
| diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
| index 083970a25c7ad95b8a4bcbecc58fa68022a00d06..699b5baf7658ea2cf508482a200c061dd9095e30 100644 |
| --- a/chrome/browser/profiles/profile_manager.h |
| +++ b/chrome/browser/profiles/profile_manager.h |
| @@ -80,6 +80,12 @@ class ProfileManager : public content::NotificationObserver, |
| // TODO(skuhne): Move into ash's new user management function. |
| static Profile* GetActiveUserProfile(); |
| + // Load and return the initial profile for browser. On ChromeOS, this returns |
| + // either the sign-in profile or the active user profile depending on whether |
| + // browser is started normally or is restarted after crash. On other |
|
emaxx
2017/06/08 19:43:54
Hmm, does the function really behave like that? It
xiyuan
2017/06/08 20:30:40
|logged_in_| is only set for ChromeOS. So for othe
|
| + // platforms, this returns the default profile. |
| + static Profile* CreateInitialProfile(); |
| + |
| // Returns a profile for a specific profile directory within the user data |
| // dir. This will return an existing profile it had already been created, |
| // otherwise it will create and manage it. |