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

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

Issue 92133003: Move ForwardingPolicyProvider, etc. to components/policy/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/forwarding_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/forwarding_policy_provider.h
diff --git a/chrome/browser/policy/forwarding_policy_provider.h b/components/policy/core/common/forwarding_policy_provider.h
similarity index 86%
rename from chrome/browser/policy/forwarding_policy_provider.h
rename to components/policy/core/common/forwarding_policy_provider.h
index 1dcbfeed3a2d6c33489c6610f821a587af4bef1b..db24ff6cfae1b9eda6797ffc5c98a480f28d0546 100644
--- a/chrome/browser/policy/forwarding_policy_provider.h
+++ b/components/policy/core/common/forwarding_policy_provider.h
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_POLICY_FORWARDING_POLICY_PROVIDER_H_
-#define CHROME_BROWSER_POLICY_FORWARDING_POLICY_PROVIDER_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_FORWARDING_POLICY_PROVIDER_H_
+#define COMPONENTS_POLICY_CORE_COMMON_FORWARDING_POLICY_PROVIDER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "components/policy/core/common/configuration_policy_provider.h"
#include "components/policy/core/common/policy_namespace.h"
+#include "components/policy/policy_export.h"
namespace policy {
@@ -17,8 +18,9 @@ namespace policy {
// sure the delegate provider has refreshed its policies with an updated view
// of the complete schema. It is expected that the delegate's SchemaRegistry
// is a CombinedSchemaRegistry tracking the forwarding provider's registry.
-class ForwardingPolicyProvider : public ConfigurationPolicyProvider,
- public ConfigurationPolicyProvider::Observer {
+class POLICY_EXPORT ForwardingPolicyProvider
+ : public ConfigurationPolicyProvider,
+ public ConfigurationPolicyProvider::Observer {
public:
// The |delegate| must outlive this provider.
explicit ForwardingPolicyProvider(ConfigurationPolicyProvider* delegate);
@@ -65,4 +67,4 @@ class ForwardingPolicyProvider : public ConfigurationPolicyProvider,
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_FORWARDING_POLICY_PROVIDER_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_FORWARDING_POLICY_PROVIDER_H_
« no previous file with comments | « components/policy.gypi ('k') | components/policy/core/common/forwarding_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698