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

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

Issue 2760163002: [IndexedDB] Pool and evict leveldb iterators, to save memory (Closed)
Patch Set: comments Created 3 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/mock_browsertest_indexed_db_class_factory.h
diff --git a/content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.h b/content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.h
index d8db0c6c52ecf0a851e4326e622ae6a5ba2edd45..d48725822017d344fb5b280c33bcbd7276cdb484 100644
--- a/content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.h
+++ b/content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.h
@@ -55,7 +55,9 @@ class MockBrowserTestIndexedDBClassFactory : public IndexedDBClassFactory {
scoped_refptr<LevelDBTransaction> CreateLevelDBTransaction(
LevelDBDatabase* db) override;
std::unique_ptr<LevelDBIteratorImpl> CreateIteratorImpl(
- std::unique_ptr<leveldb::Iterator> iterator) override;
+ std::unique_ptr<leveldb::Iterator> iterator,
+ LevelDBDatabase* db,
+ const leveldb::Snapshot* snapshot) override;
void FailOperation(FailClass failure_class,
FailMethod failure_method,

Powered by Google App Engine
This is Rietveld 408576698