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

Unified Diff: content/browser/indexed_db/mock_indexed_db_factory.h

Issue 2109273002: IndexedDB: Created IndexedDBDataLossInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initializing data loss in IndexedDBBackingStore::Open Created 4 years, 5 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
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/mock_indexed_db_factory.h
diff --git a/content/browser/indexed_db/mock_indexed_db_factory.h b/content/browser/indexed_db/mock_indexed_db_factory.h
index 120c96a9cef74e6aa36659369d00cdd35f532772..ca0735169f49c9edf120c4d3e57586ffc4059155 100644
--- a/content/browser/indexed_db/mock_indexed_db_factory.h
+++ b/content/browser/indexed_db/mock_indexed_db_factory.h
@@ -57,23 +57,21 @@ class MockIndexedDBFactory : public IndexedDBFactory {
protected:
virtual ~MockIndexedDBFactory();
- MOCK_METHOD7(OpenBackingStore,
+ MOCK_METHOD6(OpenBackingStore,
scoped_refptr<IndexedDBBackingStore>(
const url::Origin& origin,
const base::FilePath& data_directory,
net::URLRequestContext* request_context,
- blink::WebIDBDataLoss* data_loss,
- std::string* data_loss_reason,
+ IndexedDBDataLossInfo* data_loss_info,
bool* disk_full,
leveldb::Status* s));
- MOCK_METHOD8(OpenBackingStoreHelper,
+ MOCK_METHOD7(OpenBackingStoreHelper,
scoped_refptr<IndexedDBBackingStore>(
const url::Origin& origin,
const base::FilePath& data_directory,
net::URLRequestContext* request_context,
- blink::WebIDBDataLoss* data_loss,
- std::string* data_loss_message,
+ IndexedDBDataLossInfo* data_loss_info,
bool* disk_full,
bool first_time,
leveldb::Status* s));
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698