| Index: chrome/browser/prefs/incognito_mode_prefs.h
|
| diff --git a/chrome/browser/prefs/incognito_mode_prefs.h b/chrome/browser/prefs/incognito_mode_prefs.h
|
| index cbf30efa6abab726cdf420f57516228d7e370bda..3d7c8cb108028fa5c6b86ce53531fa5a2f002f49 100644
|
| --- a/chrome/browser/prefs/incognito_mode_prefs.h
|
| +++ b/chrome/browser/prefs/incognito_mode_prefs.h
|
| @@ -78,6 +78,12 @@ class IncognitoModePrefs {
|
| static bool ArePlatformParentalControlsEnabled() WARN_UNUSED_RESULT;
|
|
|
| private:
|
| + // Internal version of GetAvailability() that specifies whether parental
|
| + // controls should be checked (which is expensive and not always necessary
|
| + // to do - such as when checking for FORCED state).
|
| + static Availability GetAvailabilityInternal(const PrefService* pref_service,
|
| + bool check_parental_controls);
|
| +
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(IncognitoModePrefs);
|
| };
|
|
|
|
|