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

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

Issue 10545033: Removed the PolicyDefinitionList from the ConfigurationPolicyProvider interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 6 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
« no previous file with comments | « chrome/browser/policy/user_cloud_policy_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/user_cloud_policy_manager_unittest.cc
diff --git a/chrome/browser/policy/user_cloud_policy_manager_unittest.cc b/chrome/browser/policy/user_cloud_policy_manager_unittest.cc
index 498192f663cee5b9f3f811d9c0c7a3e7ff4c2f5e..3ce71c10fd4d75b22ef91958e7b4d63c0402731b 100644
--- a/chrome/browser/policy/user_cloud_policy_manager_unittest.cc
+++ b/chrome/browser/policy/user_cloud_policy_manager_unittest.cc
@@ -75,8 +75,7 @@ ConfigurationPolicyProvider* TestHarness::CreateProvider(
store_ = new MockCloudPolicyStore();
store_->NotifyStoreLoaded();
EXPECT_CALL(*store_, Load());
- return new UserCloudPolicyManager(policy_definition_list,
- scoped_ptr<CloudPolicyStore>(store_).Pass(),
+ return new UserCloudPolicyManager(scoped_ptr<CloudPolicyStore>(store_).Pass(),
false);
}
@@ -159,8 +158,7 @@ class UserCloudPolicyManagerTest : public testing::Test {
store_ = new MockCloudPolicyStore();
EXPECT_CALL(*store_, Load());
manager_.reset(
- new UserCloudPolicyManager(policy::GetChromePolicyDefinitionList(),
- scoped_ptr<CloudPolicyStore>(store_).Pass(),
+ new UserCloudPolicyManager(scoped_ptr<CloudPolicyStore>(store_).Pass(),
wait_for_policy_fetch));
registrar_.Init(manager_.get(), &observer_);
}
« no previous file with comments | « chrome/browser/policy/user_cloud_policy_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698