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

Unified Diff: content/browser/indexed_db/indexed_db_unittest.cc

Issue 203833003: Add the IndexedDBActiveBlobRegistry, currently unused, to enable future blob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fixes Created 6 years, 9 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: content/browser/indexed_db/indexed_db_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_unittest.cc b/content/browser/indexed_db/indexed_db_unittest.cc
index 5bf1efb4615d5657e32e06e85f725a38375c5cc3..3b2d13aa946d6bb25fa23bcf6d96e1cbc0b2c928 100644
--- a/content/browser/indexed_db/indexed_db_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_unittest.cc
@@ -182,7 +182,8 @@ TEST_F(IndexedDBTest, ForceCloseOpenDatabasesOnDelete) {
factory->Open(base::ASCIIToUTF16("opendb"),
open_connection,
kTestOrigin,
- idb_context->data_path());
+ idb_context->data_path(),
+ NULL /* task_runner */);
IndexedDBPendingConnection closed_connection(closed_callbacks,
closed_db_callbacks,
0 /* child_process_id */,
@@ -191,7 +192,8 @@ TEST_F(IndexedDBTest, ForceCloseOpenDatabasesOnDelete) {
factory->Open(base::ASCIIToUTF16("closeddb"),
closed_connection,
kTestOrigin,
- idb_context->data_path());
+ idb_context->data_path(),
+ NULL /* task_runner */);
closed_callbacks->connection()->Close();
@@ -257,8 +259,11 @@ TEST_F(IndexedDBTest, ForceCloseOpenDatabasesOnCommitFailure) {
0 /* child_process_id */,
transaction_id,
IndexedDBDatabaseMetadata::DEFAULT_INT_VERSION);
- factory->Open(
- base::ASCIIToUTF16("db"), connection, kTestOrigin, temp_dir.path());
+ factory->Open(base::ASCIIToUTF16("db"),
+ connection,
+ kTestOrigin,
+ temp_dir.path(),
+ task_runner_);
EXPECT_TRUE(callbacks->connection());

Powered by Google App Engine
This is Rietveld 408576698