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 ed8c787a0f7013e2dfebe428f6144f205532acfe..4ccf7caeed75dabdba25c28ea9ae1001f7699c78 100644 |
| --- a/chrome/browser/profiles/profile_manager.h |
| +++ b/chrome/browser/profiles/profile_manager.h |
| @@ -59,6 +59,9 @@ class ProfileManager : public base::NonThreadSafe, |
| // will be used to open new browser windows. |
| static Profile* GetLastUsedProfileAllowedByPolicy(); |
| + // Returns true if incognito mode is forced. |
|
anthonyvd
2016/05/11 18:04:03
nit: expand a bit on what this implies.
Moe
2016/05/13 17:18:12
Done.
|
| + static bool IncognitoModeForced(Profile* profile); |
| + |
| // Same as instance method but provides the default user_data_dir as well. |
| static std::vector<Profile*> GetLastOpenedProfiles(); |