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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover_impl.cc

Issue 2757923002: Move StoragePartitionHttpCacheDataRemover to content/ (Closed)
Patch Set: git cl format 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
Index: chrome/browser/browsing_data/browsing_data_remover_impl.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover_impl.cc b/chrome/browser/browsing_data/browsing_data_remover_impl.cc
index c0ea686cf717844398dabde980e5c123dbb8f053..97ecc42dd58d43c4624c1d93ca44d42c3c922b02 100644
--- a/chrome/browser/browsing_data/browsing_data_remover_impl.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover_impl.cc
@@ -18,7 +18,6 @@
#include "chrome/browser/browsing_data/browsing_data_remover_delegate.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
-#include "components/browsing_data/content/storage_partition_http_cache_data_remover.h"
#include "components/prefs/pref_service.h"
#include "components/web_cache/browser/web_cache_manager.h"
#include "content/public/browser/browser_context.h"
@@ -28,6 +27,7 @@
#include "content/public/browser/download_manager.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/storage_partition.h"
+#include "content/public/browser/storage_partition_http_cache_data_remover.h"
#include "content/public/browser/user_metrics.h"
#include "net/base/net_errors.h"
#include "net/cookies/cookie_store.h"
@@ -523,16 +523,15 @@ void BrowsingDataRemoverImpl::RemoveImpl(
clear_cache_.Start();
// StoragePartitionHttpCacheDataRemover deletes itself when it is done.
if (filter_builder.IsEmptyBlacklist()) {
- browsing_data::StoragePartitionHttpCacheDataRemover::CreateForRange(
+ content::StoragePartitionHttpCacheDataRemover::CreateForRange(
BrowserContext::GetDefaultStoragePartition(browser_context_),
delete_begin_, delete_end_)
->Remove(clear_cache_.GetCompletionCallback());
} else {
- browsing_data::StoragePartitionHttpCacheDataRemover::
- CreateForURLsAndRange(
- BrowserContext::GetDefaultStoragePartition(browser_context_),
- filter, delete_begin_, delete_end_)
- ->Remove(clear_cache_.GetCompletionCallback());
+ content::StoragePartitionHttpCacheDataRemover::CreateForURLsAndRange(
+ BrowserContext::GetDefaultStoragePartition(browser_context_), filter,
+ delete_begin_, delete_end_)
+ ->Remove(clear_cache_.GetCompletionCallback());
}
// Tell the shader disk cache to clear.

Powered by Google App Engine
This is Rietveld 408576698