Index: components/policy/core/browser/configuration_policy_pref_store.h |
diff --git a/chrome/browser/policy/configuration_policy_pref_store.h b/components/policy/core/browser/configuration_policy_pref_store.h |
similarity index 87% |
rename from chrome/browser/policy/configuration_policy_pref_store.h |
rename to components/policy/core/browser/configuration_policy_pref_store.h |
index 73261cbebc40bb0d1d6f70092f2a1094418188ad..38f4bf727f36ab75b3c04192361d5870e72fca3e 100644 |
--- a/chrome/browser/policy/configuration_policy_pref_store.h |
+++ b/components/policy/core/browser/configuration_policy_pref_store.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_PREF_STORE_H_ |
-#define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ |
+#ifndef COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ |
+#define COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ |
#include <string> |
@@ -12,9 +12,10 @@ |
#include "base/observer_list.h" |
#include "base/prefs/pref_store.h" |
#include "base/values.h" |
-#include "chrome/browser/policy/policy_service.h" |
#include "components/policy/core/common/policy_map.h" |
+#include "components/policy/core/common/policy_service.h" |
#include "components/policy/core/common/policy_types.h" |
+#include "components/policy/policy_export.h" |
class PrefValueMap; |
@@ -25,7 +26,7 @@ class ConfigurationPolicyHandlerList; |
// An implementation of PrefStore that bridges policy settings as read from the |
// PolicyService to preferences. Converts POLICY_DOMAIN_CHROME policies a given |
// PolicyLevel to their corresponding preferences. |
-class ConfigurationPolicyPrefStore |
+class POLICY_EXPORT ConfigurationPolicyPrefStore |
: public PrefStore, |
public PolicyService::Observer { |
public: |
@@ -81,4 +82,4 @@ class ConfigurationPolicyPrefStore |
} // namespace policy |
-#endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_PREF_STORE_H_ |
+#endif // COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ |