| Index: content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc b/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| index a3e2d03f71b7176cc1af0c40db982eeea88ad3ab..fad532c7d50c288429583274ec2e0fc0e30db930 100644
|
| --- a/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| +++ b/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc
|
| @@ -85,11 +85,13 @@ TEST(IndexedDBIOErrorTest, CleanUpTest) {
|
| IndexedDBBackingStore::Open(factory,
|
| origin,
|
| path,
|
| + NULL /* request_context */,
|
| &data_loss,
|
| &data_loss_message,
|
| &disk_full,
|
| &mock_leveldb_factory,
|
| - task_runner);
|
| + task_runner,
|
| + false /* clean_journal */);
|
| }
|
|
|
| // TODO(dgrogan): Remove expect_destroy if we end up not using it again. It is
|
| @@ -142,11 +144,13 @@ TEST(IndexedDBNonRecoverableIOErrorTest, NuancedCleanupTest) {
|
| IndexedDBBackingStore::Open(factory,
|
| origin,
|
| path,
|
| + NULL /* request_context */,
|
| &data_loss,
|
| &data_loss_reason,
|
| &disk_full,
|
| &mock_leveldb_factory,
|
| - task_runner);
|
| + task_runner,
|
| + false /* clean_journal */);
|
|
|
| MockErrorLevelDBFactory<base::File::Error> mock_leveldb_factory2(
|
| base::File::FILE_ERROR_NO_MEMORY, false);
|
| @@ -154,22 +158,26 @@ TEST(IndexedDBNonRecoverableIOErrorTest, NuancedCleanupTest) {
|
| IndexedDBBackingStore::Open(factory,
|
| origin,
|
| path,
|
| + NULL /* request_context */,
|
| &data_loss,
|
| &data_loss_reason,
|
| &disk_full,
|
| &mock_leveldb_factory2,
|
| - task_runner);
|
| + task_runner,
|
| + false /* clean_journal */);
|
|
|
| MockErrorLevelDBFactory<int> mock_leveldb_factory3(EIO, false);
|
| scoped_refptr<IndexedDBBackingStore> backing_store3 =
|
| IndexedDBBackingStore::Open(factory,
|
| origin,
|
| path,
|
| + NULL /* request_context */,
|
| &data_loss,
|
| &data_loss_reason,
|
| &disk_full,
|
| &mock_leveldb_factory3,
|
| - task_runner);
|
| + task_runner,
|
| + false /* clean_journal */);
|
|
|
| MockErrorLevelDBFactory<base::File::Error> mock_leveldb_factory4(
|
| base::File::FILE_ERROR_FAILED, false);
|
| @@ -177,11 +185,13 @@ TEST(IndexedDBNonRecoverableIOErrorTest, NuancedCleanupTest) {
|
| IndexedDBBackingStore::Open(factory,
|
| origin,
|
| path,
|
| + NULL /* request_context */,
|
| &data_loss,
|
| &data_loss_reason,
|
| &disk_full,
|
| &mock_leveldb_factory4,
|
| - task_runner);
|
| + task_runner,
|
| + false /* clean_journal */);
|
| }
|
|
|
| } // namespace
|
|
|