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

Unified Diff: chrome/browser/guestview/webview/webview_guest.cc

Issue 37843003: BrowsingDataRemover, (re)use StoragePartition deletion code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase @tott. Created 7 years, 1 month 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/guestview/webview/webview_guest.cc
diff --git a/chrome/browser/guestview/webview/webview_guest.cc b/chrome/browser/guestview/webview/webview_guest.cc
index dda57295143527b1db15357d54ccc40dc66de1cb..9e7cd62d867069be9cfa6c7c4b6b4bebe77d6e63 100644
--- a/chrome/browser/guestview/webview/webview_guest.cc
+++ b/chrome/browser/guestview/webview/webview_guest.cc
@@ -439,9 +439,11 @@ bool WebViewGuest::ClearData(const base::Time remove_since,
if (!partition)
return false;
- partition->ClearDataForRange(
+ partition->ClearData(
removal_mask,
content::StoragePartition::QUOTA_MANAGED_STORAGE_MASK_ALL,
+ NULL,
+ content::StoragePartition::OriginMatcherFunction(),
remove_since,
base::Time::Now(),
callback);

Powered by Google App Engine
This is Rietveld 408576698