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

Unified Diff: chrome/browser/policy/cloud/cloud_policy_browsertest.cc

Issue 183803026: Clean up InvalidationService test infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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/policy/cloud/cloud_policy_browsertest.cc
diff --git a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
index 4c24434869ea4d4f121a26e1695ddd6cae2503ed..9ba91acb4d30d8a61f85c2c9adfc99f305bb9c3c 100644
--- a/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
+++ b/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
@@ -162,7 +162,7 @@ class CloudPolicyTest : public InProcessBrowserTest,
command_line->AppendSwitch(switches::kEnablePolicyKeyVerification);
invalidation::InvalidationServiceFactory::GetInstance()->
- SetBuildOnlyFakeInvalidatorsForTest(true);
+ RegisterTestingFactory(invalidation::FakeInvalidationService::Build);
}
virtual void SetUpOnMainThread() OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698