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 d7d8d29160fb4dc244e3721709efc1d3e8bb723c..2ba2e14b29ef4c5ea0dd5d96fa36a82d7c1c4477 100644 |
--- a/chrome/browser/prefs/incognito_mode_prefs.h |
+++ b/chrome/browser/prefs/incognito_mode_prefs.h |
@@ -63,6 +63,17 @@ class IncognitoModePrefs { |
// open new windows. |
static bool CanOpenBrowser(Profile* profile); |
+ // Returns whether parental controls have been enabled on the platform. This |
+ // method simply returns a cached value and thus the result may be stale. May |
+ // be called on any thread. |
+ static bool ArePlatformParentalControlsEnabledCached(); |
+ |
+#if defined(OS_WIN) |
+ // Initializes the parental control settings. Must be called on UI thread and |
+ // before |ArePlatformParentalControlsEnabled|. |
+ static void InitializePlatformParentalControls(); |
+#endif // OS_WIN |
+ |
private: |
// Returns whether parental controls have been enabled on the platform, which |
// if enabled will overrule the Availability as configured in prefs. |