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

Unified Diff: chrome/browser/prefs/incognito_mode_prefs_unittest.cc

Issue 950053002: Cache the Windows Parental Controls Platform Answer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Synced and All Unit Tests Fixed 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/prefs/incognito_mode_prefs_unittest.cc
diff --git a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
index ccbb489f89a467e1cf980ecc641331a8ed67fe7b..1775c75e7b2a901f984661d20a6fe8c64b551583 100644
--- a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
+++ b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
@@ -10,6 +10,12 @@
class IncognitoModePrefsTest : public testing::Test {
protected:
+#if defined(OS_WIN)
+ static void SetUpTestCase() {
+ IncognitoModePrefs::InitializePlatformParentalControls();
+ }
+#endif
+
void SetUp() override {
IncognitoModePrefs::RegisterProfilePrefs(prefs_.registry());
}

Powered by Google App Engine
This is Rietveld 408576698