Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 969813005: Unify the Windows Parental Controls Platform Caching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_browser_main_win.cc
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
index 822cd3c6b057a9a45ce7a1fb211f7cfacbeceae8..ff4b6c80de4c254aba690544569f7cea60d71c91 100644
--- a/chrome/browser/chrome_browser_main_win.cc
+++ b/chrome/browser/chrome_browser_main_win.cc
@@ -211,7 +211,8 @@ void ChromeBrowserMainPartsWin::PreMainMessageLoopStart() {
InitializeWindowProcExceptions();
}
- IncognitoModePrefs::InitializePlatformParentalControls();
+ // Initializes and caches the result on Windows.
+ IncognitoModePrefs::ArePlatformParentalControlsEnabled();
}
int ChromeBrowserMainPartsWin::PreCreateThreads() {
« no previous file with comments | « no previous file | chrome/browser/prefs/incognito_mode_prefs.h » ('j') | chrome/browser/prefs/incognito_mode_prefs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698