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

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..3458df209274da8ea28e0234ff4bc4cd4454767b 100644
--- a/chrome/browser/chrome_browser_main_win.cc
+++ b/chrome/browser/chrome_browser_main_win.cc
@@ -14,6 +14,7 @@
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/i18n/rtl.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/metrics/histogram.h"
#include "base/path_service.h"
@@ -211,7 +212,8 @@ void ChromeBrowserMainPartsWin::PreMainMessageLoopStart() {
InitializeWindowProcExceptions();
}
- IncognitoModePrefs::InitializePlatformParentalControls();
+ // Prime the parental controls cache on Windows.
+ ignore_result(IncognitoModePrefs::ArePlatformParentalControlsEnabled());
}
int ChromeBrowserMainPartsWin::PreCreateThreads() {

Powered by Google App Engine
This is Rietveld 408576698