Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Unified Diff: components/policy/core/common/policy_loader_mac.h

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « components/policy/core/common/policy_load_status.cc ('k') | components/policy/core/common/policy_loader_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698