summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_database_helper_unittest.cc
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 18:48:16 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 18:48:16 +0000
commit0d5e1febc3208291926fae7c80bfe277b3983ee0 (patch)
treef09867b69d9a97ee9150e2f55c94eca53f3e2cc7 /chrome/browser/browsing_data_database_helper_unittest.cc
parentaa94d01e13bbc1053faa7aa2405bc453792d55b6 (diff)
downloadchromium_src-0d5e1febc3208291926fae7c80bfe277b3983ee0.zip
chromium_src-0d5e1febc3208291926fae7c80bfe277b3983ee0.tar.gz
chromium_src-0d5e1febc3208291926fae7c80bfe277b3983ee0.tar.bz2
Speculative backout to see if this caused perf regressions.
Revert 55382 - 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 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3095009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55426 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_database_helper_unittest.cc')
-rw-r--r--chrome/browser/browsing_data_database_helper_unittest.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/browser/browsing_data_database_helper_unittest.cc b/chrome/browser/browsing_data_database_helper_unittest.cc
index 9d313db..b5368c4 100644
--- a/chrome/browser/browsing_data_database_helper_unittest.cc
+++ b/chrome/browser/browsing_data_database_helper_unittest.cc
@@ -93,19 +93,3 @@ TEST(CannedBrowsingDataDatabaseTest, Unique) {
EXPECT_STREQ(origin_str, result[0].origin_identifier.c_str());
EXPECT_STREQ(db, result[0].database_name.c_str());
}
-
-TEST(CannedBrowsingDataDatabaseTest, Empty) {
- TestingProfile profile;
-
- const GURL origin("http://host1:1/");
- const char db[] = "db1";
-
- scoped_refptr<CannedBrowsingDataDatabaseHelper> helper =
- new CannedBrowsingDataDatabaseHelper(&profile);
-
- ASSERT_TRUE(helper->empty());
- helper->AddDatabase(origin, db, "");
- ASSERT_FALSE(helper->empty());
- helper->Reset();
- ASSERT_TRUE(helper->empty());
-}