Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Unified Diff: chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc

Issue 17518004: Move IndexedDB from WEBKIT_DEPRECATED to dedicated thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing files Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc
index 3049a7240d0e66d05c9ed1bad3396952748d27c3..0da6c940bce074131c77044dab30299921999c86 100644
--- a/chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_indexed_db_helper_unittest.cc
@@ -16,8 +16,9 @@ TEST_F(CannedBrowsingDataIndexedDBHelperTest, Empty) {
const GURL origin("http://host1:1/");
const string16 description(ASCIIToUTF16("description"));
+ TestingProfile profile;
scoped_refptr<CannedBrowsingDataIndexedDBHelper> helper(
- new CannedBrowsingDataIndexedDBHelper());
+ new CannedBrowsingDataIndexedDBHelper(&profile));
ASSERT_TRUE(helper->empty());
helper->AddIndexedDB(origin, description);
@@ -31,8 +32,9 @@ TEST_F(CannedBrowsingDataIndexedDBHelperTest, IgnoreExtensionsAndDevTools) {
const GURL origin2("chrome-devtools://abcdefghijklmnopqrstuvwxyz/");
const string16 description(ASCIIToUTF16("description"));
+ TestingProfile profile;
scoped_refptr<CannedBrowsingDataIndexedDBHelper> helper(
- new CannedBrowsingDataIndexedDBHelper());
+ new CannedBrowsingDataIndexedDBHelper(&profile));
ASSERT_TRUE(helper->empty());
helper->AddIndexedDB(origin1, description);

Powered by Google App Engine
This is Rietveld 408576698