| Index: components/policy/core/common/schema_map.h
|
| diff --git a/chrome/browser/policy/schema_map.h b/components/policy/core/common/schema_map.h
|
| similarity index 85%
|
| rename from chrome/browser/policy/schema_map.h
|
| rename to components/policy/core/common/schema_map.h
|
| index b3a1db1937a017cf2eac4959052688f2ca0db087..e91886ea4200f166cef9d0440ba1a08e8844bbc1 100644
|
| --- a/chrome/browser/policy/schema_map.h
|
| +++ b/components/policy/core/common/schema_map.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_SCHEMA_MAP_H_
|
| -#define CHROME_BROWSER_POLICY_SCHEMA_MAP_H_
|
| +#ifndef COMPONENTS_POLICY_CORE_COMMON_SCHEMA_MAP_H_
|
| +#define COMPONENTS_POLICY_CORE_COMMON_SCHEMA_MAP_H_
|
|
|
| #include <map>
|
| #include <string>
|
| @@ -12,6 +12,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "components/policy/core/common/policy_namespace.h"
|
| #include "components/policy/core/common/schema.h"
|
| +#include "components/policy/policy_export.h"
|
|
|
| namespace policy {
|
|
|
| @@ -22,7 +23,7 @@ typedef std::map<PolicyDomain, ComponentMap> DomainMap;
|
|
|
| // Contains a mapping of policy namespaces (domain + component ID) to its
|
| // corresponding Schema.
|
| -class SchemaMap : public base::RefCountedThreadSafe<SchemaMap> {
|
| +class POLICY_EXPORT SchemaMap : public base::RefCountedThreadSafe<SchemaMap> {
|
| public:
|
| SchemaMap();
|
| // Takes ownership of |map| (its contents will be swapped).
|
| @@ -61,4 +62,4 @@ class SchemaMap : public base::RefCountedThreadSafe<SchemaMap> {
|
|
|
| } // namespace policy
|
|
|
| -#endif // CHROME_BROWSER_POLICY_SCHEMA_MAP_H_
|
| +#endif // COMPONENTS_POLICY_CORE_COMMON_SCHEMA_MAP_H_
|
|
|