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

Unified Diff: chrome/browser/policy/policy_loader_mac_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
Index: chrome/browser/policy/policy_loader_mac_unittest.cc
diff --git a/chrome/browser/policy/policy_loader_mac_unittest.cc b/chrome/browser/policy/policy_loader_mac_unittest.cc
index 51a31c8ff507826d712431a46e6e89169bf36d1e..4d90a3e397707f3dcfe8733fe91290fa0d48638b 100644
--- a/chrome/browser/policy/policy_loader_mac_unittest.cc
+++ b/chrome/browser/policy/policy_loader_mac_unittest.cc
@@ -160,7 +160,7 @@ ConfigurationPolicyProvider* TestHarness::CreateProvider(
prefs_ = new MockPreferences();
scoped_ptr<AsyncPolicyLoader> loader(
new PolicyLoaderMac(policy_definition_list, prefs_));
- return new AsyncPolicyProvider(policy_definition_list, loader.Pass());
+ return new AsyncPolicyProvider(loader.Pass());
}
void TestHarness::InstallEmptyPolicy() {}
@@ -226,8 +226,7 @@ class PolicyLoaderMacTest : public PolicyTestBase {
PolicyLoaderMacTest()
: prefs_(new MockPreferences()),
loader_(new PolicyLoaderMac(&test_policy_definitions::kList, prefs_)),
- provider_(&test_policy_definitions::kList,
- scoped_ptr<AsyncPolicyLoader>(loader_)) {}
+ provider_(scoped_ptr<AsyncPolicyLoader>(loader_)) {}
virtual ~PolicyLoaderMacTest() {}
MockPreferences* prefs_;
« no previous file with comments | « chrome/browser/policy/mock_configuration_policy_provider.cc ('k') | chrome/browser/policy/policy_loader_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698