Index: components/policy/core/common/config_dir_policy_loader.cc |
diff --git a/components/policy/core/common/config_dir_policy_loader.cc b/components/policy/core/common/config_dir_policy_loader.cc |
index b81bfa99269badef3534e6e5f63a633f2ef215a2..b39d8385bbfca48e5a653a9edf7862bf74fc27bf 100644 |
--- a/components/policy/core/common/config_dir_policy_loader.cc |
+++ b/components/policy/core/common/config_dir_policy_loader.cc |
@@ -18,7 +18,6 @@ |
#include "base/stl_util.h" |
#include "components/policy/core/common/policy_bundle.h" |
#include "components/policy/core/common/policy_load_status.h" |
-#include "components/policy/core/common/policy_types.h" |
namespace policy { |
@@ -166,8 +165,7 @@ |
// Add chrome policy. |
PolicyMap policy_map; |
- policy_map.LoadFrom(dictionary_value, level, scope_, |
- POLICY_SOURCE_PLATFORM); |
+ policy_map.LoadFrom(dictionary_value, level, scope_); |
bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) |
.MergeFrom(policy_map); |
} |
@@ -217,7 +215,7 @@ |
} |
PolicyMap policy; |
- policy.LoadFrom(policy_dictionary, level, scope_, POLICY_SOURCE_PLATFORM); |
+ policy.LoadFrom(policy_dictionary, level, scope_); |
bundle->Get(PolicyNamespace(domain, components_it.key())) |
.MergeFrom(policy); |
} |