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

Unified Diff: content/public/browser/content_browser_client.h

Issue 2368923003: Support the Clear-Site-Data header on resource requests (Closed)
Patch Set: Addressed comments, formatted. Created 3 years, 6 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index e58f1099eba8054b37136f46854907fe59353b47..1bc1287d449edb6764bc333e5ebee6ed291e8fad 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -531,18 +531,6 @@ class CONTENT_EXPORT ContentBrowserClient {
// optionally add their own handlers.
virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) {}
- // Clears |browser_context|'s data stored for the given |origin|.
- // The datatypes to be removed are specified by |remove_cookies|,
- // |remove_storage|, and |remove_cache|. Note that cookies should be removed
- // for the entire eTLD+1 of |origin|. Must call |callback| when finished.
- // TODO(crbug.com/668114): Depreacated. Use BrowsingDataRemover instead.
- virtual void ClearSiteData(content::BrowserContext* browser_context,
- const url::Origin& origin,
- bool remove_cookies,
- bool remove_storage,
- bool remove_cache,
- const base::Closure& callback) {}
-
// Returns the default download directory.
// This can be called on any thread.
virtual base::FilePath GetDefaultDownloadDirectory();
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/public/test/mock_browsing_data_remover_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698