diff options
author | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-15 09:55:28 +0000 |
---|---|---|
committer | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-15 09:55:28 +0000 |
commit | 7bb3ed0a35c041526370108ba2964944887dd435 (patch) | |
tree | 48042d1ec058fe2732d76c5d3a26151308724134 /chrome/browser/browsing_data_remover.h | |
parent | ebe98fbd99c04b097c0dbd6ac0b933662d723eb8 (diff) | |
download | chromium_src-7bb3ed0a35c041526370108ba2964944887dd435.zip chromium_src-7bb3ed0a35c041526370108ba2964944887dd435.tar.gz chromium_src-7bb3ed0a35c041526370108ba2964944887dd435.tar.bz2 |
chrome.clear: Increasing granularity of public API
http://codereview.chromium.org/7717023 added more granular options to
BrowsingDataRemover. This CL exposes those options to the chrome.clear
extension API. Among other things, this means that chrome.clear.cookies()
will _only_ clear cookies, not cookies and site data.
At the moment, clearing any quota managed data type will clear them all.
That is being addressed in http://codereview.chromium.org/7839029/
but is independent from changing the public interface.
BUG=94334
TEST=browser_tests
Review URL: http://codereview.chromium.org/8008012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.h')
-rw-r--r-- | chrome/browser/browsing_data_remover.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h index 0257815..8e2bbf7 100644 --- a/chrome/browser/browsing_data_remover.h +++ b/chrome/browser/browsing_data_remover.h @@ -128,7 +128,7 @@ class BrowsingDataRemover : public content::NotificationObserver, private: // The clear API needs to be able to toggle removing_ in order to test that // only one BrowsingDataRemover instance can be called at a time. - FRIEND_TEST_ALL_PREFIXES(ExtensionApiTest, ClearOneAtATime); + FRIEND_TEST_ALL_PREFIXES(ExtensionClearTest, OneAtATime); enum CacheState { STATE_NONE, |