summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_appcache_helper.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 06:55:01 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 06:55:01 +0000
commit18e001a7c9575037eda35bed4a0e35984945323d (patch)
tree7536f72a9227e8bc1a53c5b5fad00534a38c6133 /chrome/browser/browsing_data_appcache_helper.h
parent09a8baca4d9887ff96fae636cc6ed4c6fd2ae992 (diff)
downloadchromium_src-18e001a7c9575037eda35bed4a0e35984945323d.zip
chromium_src-18e001a7c9575037eda35bed4a0e35984945323d.tar.gz
chromium_src-18e001a7c9575037eda35bed4a0e35984945323d.tar.bz2
When blocking cookies, also show an icon in the location bar when cookies are accessed.
If the user choses to block cookies per default, this will grant access to the collected cookies dialog as soon as the page accesses cookies. Right now, the icon is only shown if cookies were actually blocked. BUG=45230 TEST=Canned*.*:ContentSettingImage*.*:TabSpecific*.* Review URL: http://codereview.chromium.org/3014056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_appcache_helper.h')
-rw-r--r--chrome/browser/browsing_data_appcache_helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browsing_data_appcache_helper.h b/chrome/browser/browsing_data_appcache_helper.h
index b89f7a2..2e57fd8 100644
--- a/chrome/browser/browsing_data_appcache_helper.h
+++ b/chrome/browser/browsing_data_appcache_helper.h
@@ -65,6 +65,9 @@ class CannedBrowsingDataAppCacheHelper : public BrowsingDataAppCacheHelper {
// Clears the list of canned caches.
void Reset();
+ // True if no appcaches are currently stored.
+ bool empty() const;
+
// BrowsingDataAppCacheHelper methods.
virtual void StartFetching(Callback0::Type* completion_callback);
virtual void CancelNotification() {}