Chromium Code Reviews| 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 1726f1a179f65c4dec88dc4298e85290897a4476..6bafb809abda09cff12dba1c1ca68d7c3c97df3a 100644 |
| --- a/content/public/browser/content_browser_client.h |
| +++ b/content/public/browser/content_browser_client.h |
| @@ -551,6 +551,17 @@ 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 |
|
nasko
2016/08/11 20:07:22
nit: s/will be removed/should be removed/, as this
msramek
2016/08/12 15:06:28
Done. Makes sense.
|
| + // for the entire eTLD+1 of |origin|. Calls |callback| when finished. |
|
nasko
2016/08/11 20:07:22
nit: Same here - must call |callback|.
msramek
2016/08/12 15:06:28
Done.
|
| + 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(); |