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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2892953002: Remove the ClearCookies and ClearCache methods from ContentBrowserClient (Closed)
Patch Set: Merge conflict in BUILD.gn -> 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 0738496bfc2a5ce97414bf885c594f7055105be4..3d52091eb4d697a32170d0418de7b857660635f3 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2765,15 +2765,6 @@ void ChromeContentBrowserClient::BrowserURLHandlerCreated(
handler->AddHandlerPair(&HandleWebUI, &HandleWebUIReverse);
}
-void ChromeContentBrowserClient::ClearCache(RenderFrameHost* rfh) {
- content::BrowsingDataRemover* remover =
- content::BrowserContext::GetBrowsingDataRemover(
- rfh->GetSiteInstance()->GetProcess()->GetBrowserContext());
- remover->Remove(base::Time(), base::Time::Max(),
- content::BrowsingDataRemover::DATA_TYPE_CACHE,
- content::BrowsingDataRemover::ORIGIN_TYPE_UNPROTECTED_WEB);
-}
-
void ChromeContentBrowserClient::ClearSiteData(
content::BrowserContext* browser_context,
const url::Origin& origin,
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | content/browser/devtools/protocol/network_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698