Index: components/policy/core/common/cloud/cloud_external_data_manager.h |
diff --git a/chrome/browser/policy/cloud/cloud_external_data_manager.h b/components/policy/core/common/cloud/cloud_external_data_manager.h |
similarity index 84% |
rename from chrome/browser/policy/cloud/cloud_external_data_manager.h |
rename to components/policy/core/common/cloud/cloud_external_data_manager.h |
index 112312d0ba5463917591989c42b68d725971609f..a5b8eca9fef77a8d9e781e1e949d1ad2a1969c32 100644 |
--- a/chrome/browser/policy/cloud/cloud_external_data_manager.h |
+++ b/components/policy/core/common/cloud/cloud_external_data_manager.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_CLOUD_CLOUD_EXTERNAL_DATA_MANAGER_H_ |
-#define CHROME_BROWSER_POLICY_CLOUD_CLOUD_EXTERNAL_DATA_MANAGER_H_ |
+#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_EXTERNAL_DATA_MANAGER_H_ |
+#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_EXTERNAL_DATA_MANAGER_H_ |
#include <map> |
#include <string> |
@@ -12,6 +12,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "components/policy/core/common/external_data_manager.h" |
+#include "components/policy/policy_export.h" |
namespace net { |
class URLRequestContextGetter; |
@@ -24,9 +25,9 @@ class CloudPolicyStore; |
// Downloads, verifies, caches and retrieves external data referenced by |
// policies. |
// This a common base class used by cloud policy implementations and mocks. |
-class CloudExternalDataManager : public ExternalDataManager { |
+class POLICY_EXPORT CloudExternalDataManager : public ExternalDataManager { |
public: |
- struct MetadataEntry { |
+ struct POLICY_EXPORT MetadataEntry { |
MetadataEntry(); |
MetadataEntry(const std::string& url, const std::string& hash); |
@@ -71,4 +72,4 @@ class CloudExternalDataManager : public ExternalDataManager { |
} // namespace policy |
-#endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_EXTERNAL_DATA_MANAGER_H_ |
+#endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_EXTERNAL_DATA_MANAGER_H_ |