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

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: Test Isolation 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..4175919abc8451f565274fc53b7f269c2ce49eb4 100644
--- a/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
+++ b/chrome/browser/prefs/incognito_mode_prefs_unittest.cc
@@ -10,6 +10,14 @@
class IncognitoModePrefsTest : public testing::Test {
protected:
+ static void SetUpTestCase() {
+ IncognitoModePrefs::InitializePlatformParentalControls();
+ }
+
+ static void TearDownTestCase() {
+ IncognitoModePrefs::UninitializePlatformParentalControls();
+ }
+
void SetUp() override {
IncognitoModePrefs::RegisterProfilePrefs(prefs_.registry());
}

Powered by Google App Engine
This is Rietveld 408576698