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

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

Issue 101163003: Move ConfigurationPolicyProvider to components/policy/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename target 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
« no previous file with comments | « components/policy.gypi ('k') | components/policy/core/common/configuration_policy_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/policy.gypi ('k') | components/policy/core/common/configuration_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698