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

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

Issue 137203005: Moved the ProxyPolicyProvider to the policy component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@BPC-3-dm-url-at-base
Patch Set: Created 6 years, 11 months 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/components_tests.gyp ('k') | components/policy/core/common/proxy_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/proxy_policy_provider.h
diff --git a/chrome/browser/chromeos/policy/proxy_policy_provider.h b/components/policy/core/common/proxy_policy_provider.h
similarity index 71%
rename from chrome/browser/chromeos/policy/proxy_policy_provider.h
rename to components/policy/core/common/proxy_policy_provider.h
index c39c7aeef0a1fcc731a045e63879b6209ff5da6b..c91f1057f0eb6cdd2df86667dc7d5cb05416836e 100644
--- a/chrome/browser/chromeos/policy/proxy_policy_provider.h
+++ b/components/policy/core/common/proxy_policy_provider.h
@@ -2,19 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_
-#define CHROME_BROWSER_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_PROXY_POLICY_PROVIDER_H_
+#define COMPONENTS_POLICY_CORE_COMMON_PROXY_POLICY_PROVIDER_H_
#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
#include "components/policy/core/common/configuration_policy_provider.h"
+#include "components/policy/policy_export.h"
namespace policy {
// A policy provider implementation that acts as a proxy for another policy
// provider, swappable at any point.
-class ProxyPolicyProvider : public ConfigurationPolicyProvider,
- public ConfigurationPolicyProvider::Observer {
+class POLICY_EXPORT ProxyPolicyProvider
+ : public ConfigurationPolicyProvider,
+ public ConfigurationPolicyProvider::Observer {
public:
ProxyPolicyProvider();
virtual ~ProxyPolicyProvider();
@@ -37,4 +38,4 @@ class ProxyPolicyProvider : public ConfigurationPolicyProvider,
} // namespace policy
-#endif // CHROME_BROWSER_CHROMEOS_POLICY_PROXY_POLICY_PROVIDER_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_PROXY_POLICY_PROVIDER_H_
« no previous file with comments | « components/components_tests.gyp ('k') | components/policy/core/common/proxy_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698