| Index: components/policy/core/common/configuration_policy_provider.h
|
| diff --git a/chrome/browser/policy/configuration_policy_provider.h b/components/policy/core/common/configuration_policy_provider.h
|
| similarity index 90%
|
| rename from chrome/browser/policy/configuration_policy_provider.h
|
| rename to components/policy/core/common/configuration_policy_provider.h
|
| index 926fd75e2c1fa32ca3adde49f17ce4e042557602..57a599b3ef543e607f52a9c423c78be1efb4aee0 100644
|
| --- a/chrome/browser/policy/configuration_policy_provider.h
|
| +++ b/components/policy/core/common/configuration_policy_provider.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_CONFIGURATION_POLICY_PROVIDER_H_
|
| -#define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_
|
| +#ifndef COMPONENTS_POLICY_CORE_COMMON_CONFIGURATION_POLICY_PROVIDER_H_
|
| +#define COMPONENTS_POLICY_CORE_COMMON_CONFIGURATION_POLICY_PROVIDER_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| @@ -12,15 +12,17 @@
|
| #include "components/policy/core/common/policy_bundle.h"
|
| #include "components/policy/core/common/policy_namespace.h"
|
| #include "components/policy/core/common/schema_registry.h"
|
| +#include "components/policy/policy_export.h"
|
|
|
| namespace policy {
|
|
|
| // A mostly-abstract super class for platform-specific policy providers.
|
| // Platform-specific policy providers (Windows Group Policy, gconf,
|
| // etc.) should implement a subclass of this class.
|
| -class ConfigurationPolicyProvider : public SchemaRegistry::Observer {
|
| +class POLICY_EXPORT ConfigurationPolicyProvider
|
| + : public SchemaRegistry::Observer {
|
| public:
|
| - class Observer {
|
| + class POLICY_EXPORT Observer {
|
| public:
|
| virtual ~Observer();
|
| virtual void OnUpdatePolicy(ConfigurationPolicyProvider* provider) = 0;
|
| @@ -98,4 +100,4 @@ class ConfigurationPolicyProvider : public SchemaRegistry::Observer {
|
|
|
| } // namespace policy
|
|
|
| -#endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PROVIDER_H_
|
| +#endif // COMPONENTS_POLICY_CORE_COMMON_CONFIGURATION_POLICY_PROVIDER_H_
|
|
|