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

Unified Diff: chrome/browser/profiles/profile_manager_unittest.cc

Issue 950053002: Cache the Windows Parental Controls Platform Answer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit Test Fixes 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/profiles/profile_manager_unittest.cc
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
index 48463fa2299919f8c0c1625ddb4464e4cad6424e..ca5e7f451ea61f37f349e92a88c8cad5ff60878b 100644
--- a/chrome/browser/profiles/profile_manager_unittest.cc
+++ b/chrome/browser/profiles/profile_manager_unittest.cc
@@ -55,6 +55,10 @@
#include "components/user_manager/user_manager.h"
#endif // defined(OS_CHROMEOS)
+#if defined(OS_WIN)
+#include "chrome/browser/prefs/incognito_mode_prefs.h"
+#endif // defined(OS_WIN)
+
using base::ASCIIToUTF16;
using content::BrowserThread;
@@ -113,6 +117,10 @@ class ProfileManagerTest : public testing::Test {
base::CommandLine* cl = base::CommandLine::ForCurrentProcess();
cl->AppendSwitch(switches::kTestType);
#endif
+
+#if defined(OS_WIN)
+ IncognitoModePrefs::InitializePlatformParentalControls();
gab 2015/02/25 20:23:52 Consider putting this in SetUpTestCase() as it's o
robliao 2015/02/26 21:03:52 Done.
+#endif // defined(OS_WIN)
}
void TearDown() override {

Powered by Google App Engine
This is Rietveld 408576698