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 6c7f8e6fb4a602db4b5edb4926b353f918085362..6088ecd8c4f7177a8e74a982f3380c64362bfe27 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -550,6 +550,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|. |
nasko
2016/07/28 17:30:31
Why would cookies and other types of data differ?
msramek
2016/08/01 16:03:19
The proposal is to delete data for an origin as a
|
+ virtual void ClearSiteData( |
+ content::BrowserContext* browser_context, const url::Origin& origin, |
nasko
2016/07/28 17:30:31
style: Each parameter goes on a new line. Ideally,
msramek
2016/08/01 16:03:19
Done, also ran git cl format. (Some parts of this
nasko
2016/08/03 20:53:13
The main goal of git cl format is to remove any di
|
+ 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(); |