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

Unified Diff: components/policy/core/browser/configuration_policy_handler_list.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/browser/configuration_policy_handler_list.h
diff --git a/chrome/browser/policy/configuration_policy_handler_list.h b/components/policy/core/browser/configuration_policy_handler_list.h
similarity index 83%
rename from chrome/browser/policy/configuration_policy_handler_list.h
rename to components/policy/core/browser/configuration_policy_handler_list.h
index 95b2008786a25547a589c88a0e061269030e7f04..5cbc55e3f3b594e0a56f273ceb24977d201ec6d2 100644
--- a/chrome/browser/policy/configuration_policy_handler_list.h
+++ b/components/policy/core/browser/configuration_policy_handler_list.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_HANDLER_LIST_H_
-#define CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_LIST_H_
+#ifndef COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_LIST_H_
+#define COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_LIST_H_
#include <vector>
@@ -11,6 +11,7 @@
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "components/policy/core/common/policy_details.h"
+#include "components/policy/policy_export.h"
class PrefValueMap;
@@ -24,7 +25,7 @@ struct PolicyToPreferenceMapEntry;
// Converts policies to their corresponding preferences by applying a list of
// ConfigurationPolicyHandler objects. This includes error checking and
// cleaning up policy values for displaying.
-class ConfigurationPolicyHandlerList {
+class POLICY_EXPORT ConfigurationPolicyHandlerList {
public:
explicit ConfigurationPolicyHandlerList(
const GetChromePolicyDetailsCallback& details_callback);
@@ -52,4 +53,4 @@ class ConfigurationPolicyHandlerList {
} // namespace policy
-#endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_HANDLER_LIST_H_
+#endif // COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_LIST_H_

Powered by Google App Engine
This is Rietveld 408576698