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 95446dd29650684c31ccbdbd6ccf7e12dc3a61ea..e14be0e2fbb4f6c97ff01058fba88d627a00ac02 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -551,6 +551,14 @@ class CONTENT_EXPORT ContentBrowserClient { |
// Clears browser cookies. |
virtual void ClearCookies(RenderFrameHost* rfh) {} |
+ // 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 will be removed |
+ // for the entire eTLD+1 of |origin|. |
+ virtual void ClearSiteData( |
+ content::BrowserContext* browser_context, const url::Origin& origin, |
+ bool remove_cookies, bool remove_storage, bool remove_cache) {} |
+ |
// Returns the default download directory. |
// This can be called on any thread. |
virtual base::FilePath GetDefaultDownloadDirectory(); |