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

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

Issue 2160163002: [IndexedDB] Propogating Changes to Observer : Browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Browser changes 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
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 8011e72933e1de40438786fdf47efd28fedd1510..2f9151691e6ddf6243d88b42acc4f40405e01369 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
@@ -18,6 +18,7 @@
namespace content {
+class IndexedDBConnection;
class LevelDBTransaction;
class LevelDBDatabase;
@@ -47,10 +48,9 @@ class MockBrowserTestIndexedDBClassFactory : public IndexedDBClassFactory {
const IndexedDBDatabase::Identifier& unique_identifier) override;
IndexedDBTransaction* CreateIndexedDBTransaction(
int64_t id,
- scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
+ base::WeakPtr<IndexedDBConnection> connection,
const std::set<int64_t>& scope,
blink::WebIDBTransactionMode mode,
- IndexedDBDatabase* db,
IndexedDBBackingStore::Transaction* backing_store_transaction) override;
LevelDBTransaction* CreateLevelDBTransaction(LevelDBDatabase* db) override;
LevelDBIteratorImpl* CreateIteratorImpl(

Powered by Google App Engine
This is Rietveld 408576698