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

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest.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: extensions/browser/guest_view/web_view/web_view_guest.cc
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.cc b/extensions/browser/guest_view/web_view/web_view_guest.cc
index 6a966d4b77cc30fe5651cd9fd1ca6f91b68bba70..720e6bef4448b357c43354b6eaf17c94fbd79444 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.cc
+++ b/extensions/browser/guest_view/web_view/web_view_guest.cc
@@ -13,7 +13,6 @@
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
-#include "components/browsing_data/content/storage_partition_http_cache_data_remover.h"
#include "components/guest_view/browser/guest_view_event.h"
#include "components/guest_view/browser/guest_view_manager.h"
#include "components/guest_view/common/guest_view_constants.h"
@@ -35,6 +34,7 @@
#include "content/public/browser/resource_request_details.h"
#include "content/public/browser/site_instance.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 "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
@@ -806,7 +806,7 @@ bool WebViewGuest::ClearData(base::Time remove_since,
remove_since, removal_mask, callback);
// StoragePartitionHttpCacheDataRemover removes itself when it is done.
// components/, move |ClearCache| to WebViewGuest: http//crbug.com/471287.
- browsing_data::StoragePartitionHttpCacheDataRemover::CreateForRange(
+ content::StoragePartitionHttpCacheDataRemover::CreateForRange(
partition, remove_since, base::Time::Now())
->Remove(cache_removal_done_callback);
« content/public/browser/storage_partition_http_cache_data_remover.h ('K') | « content/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698