| 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..0ac157efaf91201686107469802fd609c6723c28 100644
|
| --- a/chrome/browser/profiles/profile_manager.h
|
| +++ b/chrome/browser/profiles/profile_manager.h
|
| @@ -59,6 +59,10 @@ class ProfileManager : public base::NonThreadSafe,
|
| // will be used to open new browser windows.
|
| static Profile* GetLastUsedProfileAllowedByPolicy();
|
|
|
| + // Helper function that returns true if incognito mode is forced for |profile|
|
| + // (normal mode is not available for browsing).
|
| + static bool IncognitoModeForced(Profile* profile);
|
| +
|
| // Same as instance method but provides the default user_data_dir as well.
|
| static std::vector<Profile*> GetLastOpenedProfiles();
|
|
|
|
|