Chromium Code Reviews| Index: content/browser/indexed_db/indexed_db_backing_store.cc |
| diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc |
| index d79407aec9d809ca91a8faf2b8da9ee8c1ee63e5..fb8b612d81c3686183975255ed631f9b26c0a565 100644 |
| --- a/content/browser/indexed_db/indexed_db_backing_store.cc |
| +++ b/content/browser/indexed_db/indexed_db_backing_store.cc |
| @@ -506,20 +506,24 @@ scoped_refptr<IndexedDBBackingStore> IndexedDBBackingStore::Open( |
| IndexedDBFactory* indexed_db_factory, |
| const GURL& origin_url, |
| const base::FilePath& path_base, |
| + net::URLRequestContext* request_context, |
| blink::WebIDBDataLoss* data_loss, |
| std::string* data_loss_message, |
| bool* disk_full, |
| - base::TaskRunner* task_runner) { |
| + base::TaskRunner* task_runner, |
| + bool clean_journal) { |
| *data_loss = blink::WebIDBDataLossNone; |
| DefaultLevelDBFactory leveldb_factory; |
| return IndexedDBBackingStore::Open(indexed_db_factory, |
| origin_url, |
| path_base, |
| + request_context, |
| data_loss, |
| data_loss_message, |
| disk_full, |
| &leveldb_factory, |
| - task_runner); |
| + task_runner, |
| + clean_journal); |
| } |
| static std::string OriginToCustomHistogramSuffix(const GURL& origin_url) { |
| @@ -655,11 +659,13 @@ scoped_refptr<IndexedDBBackingStore> IndexedDBBackingStore::Open( |
| IndexedDBFactory* indexed_db_factory, |
| const GURL& origin_url, |
| const base::FilePath& path_base, |
| + net::URLRequestContext* request_context, |
|
cmumford
2014/04/29 16:08:34
Why add these two unused parameters to this versio
ericu
2014/04/29 18:24:19
Now that I've committed blob_writer and merged out
|
| blink::WebIDBDataLoss* data_loss, |
| std::string* data_loss_message, |
| bool* is_disk_full, |
| LevelDBFactory* leveldb_factory, |
| - base::TaskRunner* task_runner) { |
| + base::TaskRunner* task_runner, |
| + bool clean_journal) { |
| IDB_TRACE("IndexedDBBackingStore::Open"); |
| DCHECK(!path_base.empty()); |
| *data_loss = blink::WebIDBDataLossNone; |