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

Unified Diff: content/browser/browsing_data/conditional_cache_deletion_helper.h

Issue 2757923002: Move StoragePartitionHttpCacheDataRemover to content/ (Closed)
Patch Set: Rebase. Created 3 years, 9 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 | « content/browser/BUILD.gn ('k') | content/browser/browsing_data/conditional_cache_deletion_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browsing_data/conditional_cache_deletion_helper.h
diff --git a/components/browsing_data/content/conditional_cache_deletion_helper.h b/content/browser/browsing_data/conditional_cache_deletion_helper.h
similarity index 86%
rename from components/browsing_data/content/conditional_cache_deletion_helper.h
rename to content/browser/browsing_data/conditional_cache_deletion_helper.h
index c46d8bed820bc2f13925c4bac8a262c9a32ddbfd..da7b590e8f99b53fea1f2e49681bea355ae9c00a 100644
--- a/components/browsing_data/content/conditional_cache_deletion_helper.h
+++ b/content/browser/browsing_data/conditional_cache_deletion_helper.h
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_DELETION_HELPER_H_
-#define COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_DELETION_HELPER_H_
+#ifndef CONTENT_BROWSER_BROWSING_DATA_CONDITIONAL_CACHE_DELETION_HELPER_H_
+#define CONTENT_BROWSER_BROWSING_DATA_CONDITIONAL_CACHE_DELETION_HELPER_H_
#include <memory>
#include "base/callback_forward.h"
#include "base/message_loop/message_loop.h"
+#include "content/common/content_export.h"
#include "net/base/completion_callback.h"
#include "net/base/net_errors.h"
#include "net/disk_cache/disk_cache.h"
@@ -18,10 +19,10 @@ namespace disk_cache {
class Entry;
}
-namespace browsing_data {
+namespace content {
// Helper to remove http cache data from a StoragePartition.
-class ConditionalCacheDeletionHelper {
+class CONTENT_EXPORT ConditionalCacheDeletionHelper {
public:
// Creates a helper to delete |cache| entries that match the |condition|.
// Must be created on the IO thread!
@@ -68,6 +69,6 @@ class ConditionalCacheDeletionHelper {
DISALLOW_COPY_AND_ASSIGN(ConditionalCacheDeletionHelper);
};
-} // namespace browsing_data
+} // namespace content
-#endif // COMPONENTS_BROWSING_DATA_CONTENT_CONDITIONAL_CACHE_DELETION_HELPER_H_
+#endif // CONTENT_BROWSER_BROWSING_DATA_CONDITIONAL_CACHE_DELETION_HELPER_H_
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/browsing_data/conditional_cache_deletion_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698