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 7a61399c7d788336dfba16b3a9796183d0ef96da..2bfb94a46d1f16c72f579fb28153d92998731805 100644 |
| --- a/content/public/browser/content_browser_client.h |
| +++ b/content/public/browser/content_browser_client.h |
| @@ -556,6 +556,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( |
|
Mike West
2016/06/02 07:05:44
Daniel, is this a structure that Opera would be ab
Daniel Bratell
2016/06/02 09:15:46
I did a quick check and it seems this should be fi
msramek
2016/06/14 20:12:08
Acknowledged.
|
| + 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(); |