Index: components/policy/core/common/cloud/cloud_policy_core.h |
diff --git a/chrome/browser/policy/cloud/cloud_policy_core.h b/components/policy/core/common/cloud/cloud_policy_core.h |
similarity index 90% |
rename from chrome/browser/policy/cloud/cloud_policy_core.h |
rename to components/policy/core/common/cloud/cloud_policy_core.h |
index 48ca11eb223ae81bb605a447203647fc52dbf5c0..6279dfe0aca0feb739adee63b50f5ee7e1a859e6 100644 |
--- a/chrome/browser/policy/cloud/cloud_policy_core.h |
+++ b/components/policy/core/common/cloud/cloud_policy_core.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_CLOUD_CLOUD_POLICY_CORE_H_ |
-#define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CORE_H_ |
+#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CORE_H_ |
+#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CORE_H_ |
#include <string> |
@@ -12,7 +12,8 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/observer_list.h" |
#include "base/prefs/pref_member.h" |
-#include "chrome/browser/policy/cloud/cloud_policy_constants.h" |
+#include "components/policy/core/common/cloud/cloud_policy_constants.h" |
+#include "components/policy/policy_export.h" |
class PrefService; |
@@ -33,10 +34,10 @@ class CloudPolicyStore; |
// and storing it locally, respectively, as well as a CloudPolicyService |
// instance that moves data between the two former components, and |
// CloudPolicyRefreshScheduler which triggers periodic refreshes. |
-class CloudPolicyCore { |
+class POLICY_EXPORT CloudPolicyCore { |
public: |
// Callbacks for policy core events. |
- class Observer { |
+ class POLICY_EXPORT Observer { |
public: |
virtual ~Observer(); |
@@ -114,4 +115,4 @@ class CloudPolicyCore { |
} // namespace policy |
-#endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CORE_H_ |
+#endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CORE_H_ |