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

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: CR Feedback 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..1cff812acf483755b21862cec6ce8bcb998d66b9 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();
+ // Prime the parental controls cache on Windows.
+ IncognitoModePrefs::ArePlatformParentalControlsEnabled();
grt (UTC plus 2) 2015/03/04 03:59:39 ignore_result(...) to make this more explicit (and
gab 2015/03/04 16:25:23 That makes sense to me, also use WARN_UNUSED_RESUL
robliao 2015/03/04 18:47:44 Done. FYI, WARN_UNUSED_RESULT only applies to gcc.
gab 2015/03/04 19:21:20 Right, at least it gives it waterfall coverage (ex
}
int ChromeBrowserMainPartsWin::PreCreateThreads() {

Powered by Google App Engine
This is Rietveld 408576698