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 9f366a63c9dc0f1eb8f05d72b320644b446754b8..698250fc9f0c3512512c876deb26ceb231ec5a8d 100644 |
--- a/chrome/browser/prefs/incognito_mode_prefs.h |
+++ b/chrome/browser/prefs/incognito_mode_prefs.h |
@@ -61,6 +61,10 @@ class IncognitoModePrefs { |
static bool CanOpenBrowser(Profile* profile); |
private: |
+ // Returns whether parental controls have been enabled on the platform, which |
+ // if enabled will overrule the Availability as configured in prefs. |
+ static bool ArePlatformParentalControlsEnabled(); |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(IncognitoModePrefs); |
}; |