| 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 0837cb43e452a2f2475d3a70a5b364705a6041ae..36c0c72a73dcb801960cf0a512a8ab4d08cb00b0 100644
|
| --- a/chrome/browser/prefs/incognito_mode_prefs.h
|
| +++ b/chrome/browser/prefs/incognito_mode_prefs.h
|
| @@ -64,21 +64,12 @@ class IncognitoModePrefs {
|
| 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.
|
| + // method evaluates and caches if the platform controls have been enabled on
|
| + // the first call, which must be on the UI thread when IO and blocking are
|
| + // allowed. Subsequent calls may be from any thread.
|
| static bool ArePlatformParentalControlsEnabled();
|
|
|
| + private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(IncognitoModePrefs);
|
| };
|
|
|
|
|