Index: components/policy/core/common/cloud/resource_cache.h |
diff --git a/chrome/browser/policy/cloud/resource_cache.h b/components/policy/core/common/cloud/resource_cache.h |
similarity index 92% |
rename from chrome/browser/policy/cloud/resource_cache.h |
rename to components/policy/core/common/cloud/resource_cache.h |
index 1519a458c416be1f369fd112ebe1143bbbb59246..d6dbbab6f043b9ff71d7c4774deac7c9e6046f6a 100644 |
--- a/chrome/browser/policy/cloud/resource_cache.h |
+++ b/components/policy/core/common/cloud/resource_cache.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_RESOURCE_CACHE_H_ |
-#define CHROME_BROWSER_POLICY_CLOUD_RESOURCE_CACHE_H_ |
+#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_RESOURCE_CACHE_H_ |
+#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_RESOURCE_CACHE_H_ |
#include <map> |
#include <set> |
@@ -13,6 +13,7 @@ |
#include "base/callback_forward.h" |
#include "base/files/file_path.h" |
#include "base/memory/ref_counted.h" |
+#include "components/policy/policy_export.h" |
namespace base { |
class SequencedTaskRunner; |
@@ -26,7 +27,7 @@ namespace policy { |
// Purge*(). |
// The class can be instantiated on any thread but from then on, it must be |
// accessed via the |task_runner| only. The |task_runner| must support file I/O. |
-class ResourceCache { |
+class POLICY_EXPORT ResourceCache { |
public: |
explicit ResourceCache(const base::FilePath& cache_path, |
scoped_refptr<base::SequencedTaskRunner> task_runner); |
@@ -93,4 +94,4 @@ class ResourceCache { |
} // namespace policy |
-#endif // CHROME_BROWSER_POLICY_CLOUD_RESOURCE_CACHE_H_ |
+#endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_RESOURCE_CACHE_H_ |