diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 23:20:49 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 23:20:49 +0000 |
commit | 5000ade63130b45452cb1d0d67d1f92e77c3436f (patch) | |
tree | 4c113a63a6be7864accd03d25dc227472b1e1a3f /chrome/browser/browsing_data_indexed_db_helper_unittest.cc | |
parent | aa0508126d9ff21ad91f61e5caf745bb19894b15 (diff) | |
download | chromium_src-5000ade63130b45452cb1d0d67d1f92e77c3436f.zip chromium_src-5000ade63130b45452cb1d0d67d1f92e77c3436f.tar.gz chromium_src-5000ade63130b45452cb1d0d67d1f92e77c3436f.tar.bz2 |
Remove "name" field from indexed databases.
BUG=56248
TEST=unit_tests
Review URL: http://codereview.chromium.org/4682002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_indexed_db_helper_unittest.cc')
-rw-r--r-- | chrome/browser/browsing_data_indexed_db_helper_unittest.cc | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/chrome/browser/browsing_data_indexed_db_helper_unittest.cc b/chrome/browser/browsing_data_indexed_db_helper_unittest.cc index 2817ea4..10df224 100644 --- a/chrome/browser/browsing_data_indexed_db_helper_unittest.cc +++ b/chrome/browser/browsing_data_indexed_db_helper_unittest.cc @@ -42,17 +42,16 @@ TEST(CannedBrowsingDataIndexedDBHelperTest, DISABLED_AddIndexedDB) { const GURL origin1("http://host1:1/"); const GURL origin2("http://host2:1/"); - const string16 name(ASCIIToUTF16("name")); const string16 description(ASCIIToUTF16("description")); const FilePath::CharType file1[] = - FILE_PATH_LITERAL("http_host1_1@name.indexeddb"); + FILE_PATH_LITERAL("http_host1_1.indexeddb"); const FilePath::CharType file2[] = - FILE_PATH_LITERAL("http_host2_1@name.indexeddb"); + FILE_PATH_LITERAL("http_host2_1.indexeddb"); scoped_refptr<CannedBrowsingDataIndexedDBHelper> helper( new CannedBrowsingDataIndexedDBHelper(&profile)); - helper->AddIndexedDB(origin1, name, description); - helper->AddIndexedDB(origin2, name, description); + helper->AddIndexedDB(origin1, description); + helper->AddIndexedDB(origin2, description); TestCompletionCallback callback; helper->StartFetching( @@ -72,15 +71,14 @@ TEST(CannedBrowsingDataIndexedDBHelperTest, DISABLED_Unique) { TestingProfile profile; const GURL origin("http://host1:1/"); - const string16 name(ASCIIToUTF16("name")); const string16 description(ASCIIToUTF16("description")); const FilePath::CharType file[] = - FILE_PATH_LITERAL("http_host1_1@name.indexeddb"); + FILE_PATH_LITERAL("http_host1_1.indexeddb"); scoped_refptr<CannedBrowsingDataIndexedDBHelper> helper( new CannedBrowsingDataIndexedDBHelper(&profile)); - helper->AddIndexedDB(origin, name, description); - helper->AddIndexedDB(origin, name, description); + helper->AddIndexedDB(origin, description); + helper->AddIndexedDB(origin, description); TestCompletionCallback callback; helper->StartFetching( @@ -98,14 +96,13 @@ TEST(CannedBrowsingDataIndexedDBHelperTest, Empty) { TestingProfile profile; const GURL origin("http://host1:1/"); - const string16 name(ASCIIToUTF16("name")); const string16 description(ASCIIToUTF16("description")); scoped_refptr<CannedBrowsingDataIndexedDBHelper> helper( new CannedBrowsingDataIndexedDBHelper(&profile)); ASSERT_TRUE(helper->empty()); - helper->AddIndexedDB(origin, name, description); + helper->AddIndexedDB(origin, description); ASSERT_FALSE(helper->empty()); helper->Reset(); ASSERT_TRUE(helper->empty()); |