diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 09:39:48 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 09:39:48 +0000 |
commit | b2d8f363a11f1e674eb14a297d0a20c3b2134906 (patch) | |
tree | c57623fe575da463685e426ebed7e68d773b67ab /chrome/browser/browsing_data_database_helper.h | |
parent | 7c64b2dd993a3835e4d9e7934e235d11846c143e (diff) | |
download | chromium_src-b2d8f363a11f1e674eb14a297d0a20c3b2134906.zip chromium_src-b2d8f363a11f1e674eb14a297d0a20c3b2134906.tar.gz chromium_src-b2d8f363a11f1e674eb14a297d0a20c3b2134906.tar.bz2 |
Reland r55382. 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
Review URL: http://codereview.chromium.org/3148002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_database_helper.h')
-rw-r--r-- | chrome/browser/browsing_data_database_helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browsing_data_database_helper.h b/chrome/browser/browsing_data_database_helper.h index fb73784..26210a7 100644 --- a/chrome/browser/browsing_data_database_helper.h +++ b/chrome/browser/browsing_data_database_helper.h @@ -128,6 +128,9 @@ class CannedBrowsingDataDatabaseHelper : public BrowsingDataDatabaseHelper { // Clear the list of canned databases. void Reset(); + // True if no databases are currently stored. + bool empty() const; + // BrowsingDataDatabaseHelper methods. virtual void StartFetching( Callback1<const std::vector<DatabaseInfo>& >::Type* callback); |