From 66053514a93ed317f3cf650a09c8c59a85310cd1 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Tue, 10 Aug 2010 10:01:15 +0000 Subject: Revert 55548 - 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 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3132003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55553 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browsing_data_appcache_helper.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chrome/browser/browsing_data_appcache_helper.cc') diff --git a/chrome/browser/browsing_data_appcache_helper.cc b/chrome/browser/browsing_data_appcache_helper.cc index de330fe..2e58c6b 100644 --- a/chrome/browser/browsing_data_appcache_helper.cc +++ b/chrome/browser/browsing_data_appcache_helper.cc @@ -127,10 +127,6 @@ void CannedBrowsingDataAppCacheHelper::Reset() { info_collection_->infos_by_origin.clear(); } -bool CannedBrowsingDataAppCacheHelper::empty() const { - return info_collection_->infos_by_origin.empty(); -} - void CannedBrowsingDataAppCacheHelper::StartFetching( Callback0::Type* completion_callback) { completion_callback->Run(); -- cgit v1.1