| Index: components/policy/core/common/policy_loader_win_unittest.cc
|
| diff --git a/components/policy/core/common/policy_loader_win_unittest.cc b/components/policy/core/common/policy_loader_win_unittest.cc
|
| index c0afc4ecf33f6cd65ab662ff7c43f073bd434d35..67ba9b33d27d74cdf868785204806fe50a7a68b0 100644
|
| --- a/components/policy/core/common/policy_loader_win_unittest.cc
|
| +++ b/components/policy/core/common/policy_loader_win_unittest.cc
|
| @@ -34,6 +34,7 @@
|
| #include "components/policy/core/common/external_data_fetcher.h"
|
| #include "components/policy/core/common/policy_bundle.h"
|
| #include "components/policy/core/common/policy_map.h"
|
| +#include "components/policy/core/common/policy_types.h"
|
| #include "components/policy/core/common/preg_parser_win.h"
|
| #include "components/policy/core/common/schema_map.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -333,7 +334,10 @@ void ScopedGroupPolicyRegistrySandbox::DeleteKeys() {
|
| }
|
|
|
| RegistryTestHarness::RegistryTestHarness(HKEY hive, PolicyScope scope)
|
| - : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, scope), hive_(hive) {}
|
| + : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, scope,
|
| + POLICY_SOURCE_PLATFORM),
|
| + hive_(hive) {
|
| +}
|
|
|
| RegistryTestHarness::~RegistryTestHarness() {}
|
|
|
| @@ -455,7 +459,9 @@ PolicyProviderTestHarness* RegistryTestHarness::CreateHKLM() {
|
| }
|
|
|
| PRegTestHarness::PRegTestHarness()
|
| - : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE) {}
|
| + : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE,
|
| + POLICY_SOURCE_PLATFORM) {
|
| +}
|
|
|
| PRegTestHarness::~PRegTestHarness() {}
|
|
|
|
|