Index: components/policy/core/common/policy_loader_ios_unittest.mm |
diff --git a/components/policy/core/common/policy_loader_ios_unittest.mm b/components/policy/core/common/policy_loader_ios_unittest.mm |
index dba3991a800a217d809e1c836a554ab108eaf415..f22d37f41caecb97a91e8b43290d0a474fa7175b 100644 |
--- a/components/policy/core/common/policy_loader_ios_unittest.mm |
+++ b/components/policy/core/common/policy_loader_ios_unittest.mm |
@@ -16,7 +16,6 @@ |
#include "components/policy/core/common/policy_loader_ios.h" |
#include "components/policy/core/common/policy_map.h" |
#include "components/policy/core/common/policy_test_utils.h" |
-#include "components/policy/core/common/policy_types.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace policy { |
@@ -69,8 +68,7 @@ |
}; |
TestHarness::TestHarness(bool use_encoded_key) |
- : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, |
- POLICY_SOURCE_PLATFORM), |
+ : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE), |
use_encoded_key_(use_encoded_key) {} |
TestHarness::~TestHarness() { |
@@ -253,11 +251,9 @@ |
PolicyMap& expectedMap = |
expected.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")); |
expectedMap.Set("shared", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, |
- POLICY_SOURCE_PLATFORM, new base::StringValue("right"), |
- nullptr); |
+ new base::StringValue("right"), NULL); |
expectedMap.Set("key2", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, |
- POLICY_SOURCE_PLATFORM, new base::StringValue("value2"), |
- nullptr); |
+ new base::StringValue("value2"), NULL); |
scoped_refptr<base::TestSimpleTaskRunner> taskRunner = |
new base::TestSimpleTaskRunner(); |