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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 56623005: Policy providers all get a SchemaRegistry to work with. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-policy-schema-9-purge-with-callback
Patch Set: rebase Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/policy/mock_policy_service.h ('k') | chrome/browser/policy/policy_domain_descriptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index 7f94473e87e11d76d876176f06e5b8d3ebd18af8..5aaa078244b70050da9d3252f15b93aae4826f86 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -153,7 +153,6 @@
using content::BrowserThread;
using content::URLRequestMockHTTPJob;
-using testing::AnyNumber;
using testing::Mock;
using testing::Return;
using testing::_;
@@ -591,7 +590,6 @@ class PolicyTest : public InProcessBrowserTest {
CommandLine::ForCurrentProcess()->AppendSwitch("noerrdialogs");
EXPECT_CALL(provider_, IsInitializationComplete(_))
.WillRepeatedly(Return(true));
- EXPECT_CALL(provider_, RegisterPolicyDomain(_)).Times(AnyNumber());
BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_);
}
« no previous file with comments | « chrome/browser/policy/mock_policy_service.h ('k') | chrome/browser/policy/policy_domain_descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698