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 0f8e9434ac7a8dc40d9bc8c22c8efc317f31efc3..f2b746d2372f44ec8a1e017a51faea1c027a3d0e 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_ |