Chromium Code Reviews| 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 87% |
| rename from chrome/browser/policy/schema_map.h |
| rename to components/policy/core/common/schema_map.h |
| index b3a1db1937a017cf2eac4959052688f2ca0db087..43949c67bcd98df6bc6d1c5ecb6dbede056a764b 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> |
| @@ -22,7 +22,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> { |
|
jochen (gone - plz use gerrit)
2013/11/21 13:45:48
should you include policy_export.h?
dconnelly
2013/11/22 13:18:47
Done.
|
| public: |
| SchemaMap(); |
| // Takes ownership of |map| (its contents will be swapped). |
| @@ -61,4 +61,4 @@ class SchemaMap : public base::RefCountedThreadSafe<SchemaMap> { |
| } // namespace policy |
| -#endif // CHROME_BROWSER_POLICY_SCHEMA_MAP_H_ |
| +#endif // COMPONENTS_POLICY_CORE_COMMON_SCHEMA_MAP_H_ |