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

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

Issue 9111022: Removed ConfigurationPolicyType and extended PolicyMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 11 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/configuration_policy_provider_mac_unittest.cc
diff --git a/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc b/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc
index b8173cfdcd618eeef1fc052f34256e7bb479bf62..7ba962910b6029c4c6bba052f7d6be39c4708ef4 100644
--- a/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc
+++ b/chrome/browser/policy/configuration_policy_provider_mac_unittest.cc
@@ -58,7 +58,9 @@ void TestHarness::SetUp() {}
AsynchronousPolicyProvider* TestHarness::CreateProvider(
const PolicyDefinitionList* policy_definition_list) {
prefs_ = new MockPreferences();
- return new ConfigurationPolicyProviderMac(policy_definition_list, prefs_);
+ return new ConfigurationPolicyProviderMac(policy_definition_list,
+ POLICY_LEVEL_MANDATORY,
+ prefs_);
}
void TestHarness::InstallEmptyPolicy() {}
@@ -123,7 +125,9 @@ class ConfigurationPolicyProviderMacTest : public AsynchronousPolicyTestBase {
protected:
ConfigurationPolicyProviderMacTest()
: prefs_(new MockPreferences()),
- provider_(&test_policy_definitions::kList, prefs_) {}
+ provider_(&test_policy_definitions::kList,
+ POLICY_LEVEL_MANDATORY,
+ prefs_) {}
virtual ~ConfigurationPolicyProviderMacTest() {}
MockPreferences* prefs_;
« no previous file with comments | « chrome/browser/policy/configuration_policy_provider_mac.cc ('k') | chrome/browser/policy/configuration_policy_provider_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698