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

Unified Diff: android_webview/browser/aw_contents.cc

Issue 2892953002: Remove the ClearCookies and ClearCache methods from ContentBrowserClient (Closed)
Patch Set: Rebase. Created 3 years, 7 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: android_webview/browser/aw_contents.cc
diff --git a/android_webview/browser/aw_contents.cc b/android_webview/browser/aw_contents.cc
index 45fc4ff0747ec3bd09332abdd8eb28a86b0176aa..4785d3121fcc45caba0b90a39ceebdd7ceff9c78 100644
--- a/android_webview/browser/aw_contents.cc
+++ b/android_webview/browser/aw_contents.cc
@@ -712,6 +712,9 @@ void AwContents::ClearCache(JNIEnv* env,
DCHECK_CURRENTLY_ON(BrowserThread::UI);
render_view_host_ext_->ClearCache();
+ // TODO(crbug.com/668114): This functionality is a subset of what
+ // BrowsingDataRemover would do for REMOVE_CACHE mask. Consider calling that
boliu 2017/05/19 17:31:31 so what does does REMOVE_CACHE remove?
msramek 2017/05/19 17:35:29 It calls to StoragePartitionHttpCacheDataRemover,
boliu 2017/05/19 17:38:36 Ahh, different protocols. Yes, this should clear t
msramek 2017/05/19 18:14:59 Actually, I have one clarifying question :) Browsi
+ // instead.
if (include_disk_files)
RemoveHttpDiskCache(web_contents_->GetRenderProcessHost());
}
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698