| Index: components/policy/core/common/policy_service_impl.h
|
| diff --git a/chrome/browser/policy/policy_service_impl.h b/components/policy/core/common/policy_service_impl.h
|
| similarity index 90%
|
| rename from chrome/browser/policy/policy_service_impl.h
|
| rename to components/policy/core/common/policy_service_impl.h
|
| index 1628df5648dae87e1907008da00109ce89e4be5e..a10e881a2b0fd49d1e599f356b10511fa77ce042 100644
|
| --- a/chrome/browser/policy/policy_service_impl.h
|
| +++ b/components/policy/core/common/policy_service_impl.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_POLICY_POLICY_SERVICE_IMPL_H_
|
| -#define CHROME_BROWSER_POLICY_POLICY_SERVICE_IMPL_H_
|
| +#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_IMPL_H_
|
| +#define COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_IMPL_H_
|
|
|
| #include <map>
|
| #include <set>
|
| @@ -14,16 +14,18 @@
|
| #include "base/callback.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/observer_list.h"
|
| -#include "chrome/browser/policy/policy_service.h"
|
| #include "components/policy/core/common/configuration_policy_provider.h"
|
| #include "components/policy/core/common/policy_bundle.h"
|
| +#include "components/policy/core/common/policy_service.h"
|
| +#include "components/policy/policy_export.h"
|
|
|
| namespace policy {
|
|
|
| class PolicyMap;
|
|
|
| -class PolicyServiceImpl : public PolicyService,
|
| - public ConfigurationPolicyProvider::Observer {
|
| +class POLICY_EXPORT PolicyServiceImpl
|
| + : public PolicyService,
|
| + public ConfigurationPolicyProvider::Observer {
|
| public:
|
| typedef std::vector<ConfigurationPolicyProvider*> Providers;
|
| typedef base::Callback<void(PolicyBundle*)> PreprocessCallback;
|
| @@ -104,4 +106,4 @@ class PolicyServiceImpl : public PolicyService,
|
|
|
| } // namespace policy
|
|
|
| -#endif // CHROME_BROWSER_POLICY_POLICY_SERVICE_IMPL_H_
|
| +#endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_IMPL_H_
|
|
|