summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_appcache_helper_unittest.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-10 10:01:15 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-10 10:01:15 +0000
commit66053514a93ed317f3cf650a09c8c59a85310cd1 (patch)
tree4cd28fed7ac4e046e67ce9a888a4854b11ce30eb /chrome/browser/browsing_data_appcache_helper_unittest.cc
parent672a4d48d2ba85ff25f67986d5696a599ab4c405 (diff)
downloadchromium_src-66053514a93ed317f3cf650a09c8c59a85310cd1.zip
chromium_src-66053514a93ed317f3cf650a09c8c59a85310cd1.tar.gz
chromium_src-66053514a93ed317f3cf650a09c8c59a85310cd1.tar.bz2
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
Diffstat (limited to 'chrome/browser/browsing_data_appcache_helper_unittest.cc')
-rw-r--r--chrome/browser/browsing_data_appcache_helper_unittest.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/browsing_data_appcache_helper_unittest.cc b/chrome/browser/browsing_data_appcache_helper_unittest.cc
index 32d928c..e5631b1 100644
--- a/chrome/browser/browsing_data_appcache_helper_unittest.cc
+++ b/chrome/browser/browsing_data_appcache_helper_unittest.cc
@@ -82,18 +82,3 @@ TEST(CannedBrowsingDataAppCacheHelperTest, Unique) {
ASSERT_EQ(1u, collection[manifest.GetOrigin()].size());
EXPECT_EQ(manifest, collection[manifest.GetOrigin()].at(0).manifest_url);
}
-
-TEST(CannedBrowsingDataAppCacheHelperTest, Empty) {
- TestingProfile profile;
-
- GURL manifest("http://example.com/manifest.xml");
-
- scoped_refptr<CannedBrowsingDataAppCacheHelper> helper =
- new CannedBrowsingDataAppCacheHelper(&profile);
-
- ASSERT_TRUE(helper->empty());
- helper->AddAppCache(manifest);
- ASSERT_FALSE(helper->empty());
- helper->Reset();
- ASSERT_TRUE(helper->empty());
-}