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

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

Issue 23045003: Moved chrome/common/policy to components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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/policy/OWNERS ('k') | components/policy/core/common/policy_schema.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/policy_schema.h
diff --git a/chrome/common/policy/policy_schema.h b/components/policy/core/common/policy_schema.h
similarity index 90%
rename from chrome/common/policy/policy_schema.h
rename to components/policy/core/common/policy_schema.h
index 75db5914a0d6cfcde069d51f7e6fa9cbb01894ab..c48ee6fc2b9676210ecf1271bb297ddb5fc2674a 100644
--- a/chrome/common/policy/policy_schema.h
+++ b/components/policy/core/common/policy_schema.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_COMMON_POLICY_POLICY_SCHEMA_H_
-#define CHROME_COMMON_POLICY_POLICY_SCHEMA_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_SCHEMA_H_
+#define COMPONENTS_POLICY_CORE_COMMON_POLICY_SCHEMA_H_
#include <map>
#include <string>
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/values.h"
+#include "components/policy/policy_export.h"
namespace policy {
@@ -19,7 +20,7 @@ typedef std::map<std::string, PolicySchema*> PolicySchemaMap;
// Maps known policy keys to their expected types, and recursively describes
// the known keys within dictionary or list types.
-class PolicySchema {
+class POLICY_EXPORT PolicySchema {
public:
// Parses |schema| as a JSON v3 schema, and additionally verifies that:
@@ -66,4 +67,4 @@ class PolicySchema {
} // namespace policy
-#endif // CHROME_COMMON_POLICY_POLICY_SCHEMA_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_SCHEMA_H_
« no previous file with comments | « components/policy/OWNERS ('k') | components/policy/core/common/policy_schema.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698