Index: components/policy/core/common/policy_loader_mac.h |
diff --git a/chrome/browser/policy/policy_loader_mac.h b/components/policy/core/common/policy_loader_mac.h |
similarity index 89% |
rename from chrome/browser/policy/policy_loader_mac.h |
rename to components/policy/core/common/policy_loader_mac.h |
index 93063a0ff185b8a9340a79d2c9fcbb2e2e9a1f38..3cd83f7b6be54e0968d3736a7436e8f0be4d1dd5 100644 |
--- a/chrome/browser/policy/policy_loader_mac.h |
+++ b/components/policy/core/common/policy_loader_mac.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_LOADER_MAC_H_ |
-#define CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_ |
+#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_MAC_H_ |
+#define COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_MAC_H_ |
#include <string> |
@@ -14,6 +14,7 @@ |
#include "base/memory/ref_counted.h" |
#include "components/policy/core/common/async_policy_loader.h" |
#include "components/policy/core/common/policy_namespace.h" |
+#include "components/policy/policy_export.h" |
class MacPreferences; |
@@ -30,7 +31,7 @@ class Schema; |
// A policy loader that loads policies from the Mac preferences system, and |
// watches the managed preferences files for updates. |
-class PolicyLoaderMac : public AsyncPolicyLoader { |
+class POLICY_EXPORT PolicyLoaderMac : public AsyncPolicyLoader { |
public: |
PolicyLoaderMac(scoped_refptr<base::SequencedTaskRunner> task_runner, |
const base::FilePath& managed_policy_path, |
@@ -79,4 +80,4 @@ class PolicyLoaderMac : public AsyncPolicyLoader { |
} // namespace policy |
-#endif // CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_ |
+#endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_MAC_H_ |