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

Unified Diff: content/browser/indexed_db/indexed_db_class_factory.cc

Issue 2062203004: IDBObserver: Lifetime Management: Adding Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Observer moved to connection Created 4 years, 6 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/indexed_db_class_factory.cc
diff --git a/content/browser/indexed_db/indexed_db_class_factory.cc b/content/browser/indexed_db/indexed_db_class_factory.cc
index 71c30fd078f742f36a932c5b9d316ac6ee61d4bf..c08a1aa4e99630e2fde44e754d9fdd51e44685d7 100644
--- a/content/browser/indexed_db/indexed_db_class_factory.cc
+++ b/content/browser/indexed_db/indexed_db_class_factory.cc
@@ -37,12 +37,13 @@ IndexedDBDatabase* IndexedDBClassFactory::CreateIndexedDBDatabase(
IndexedDBTransaction* IndexedDBClassFactory::CreateIndexedDBTransaction(
int64_t id,
+ IndexedDBConnection* connection,
dmurph 2016/06/22 01:09:48 base::WeakPtr<IndexedDBConnection>
palakj1 2016/06/23 20:56:29 Done
scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
const std::set<int64_t>& scope,
blink::WebIDBTransactionMode mode,
IndexedDBDatabase* db,
IndexedDBBackingStore::Transaction* backing_store_transaction) {
- return new IndexedDBTransaction(id, callbacks, scope, mode, db,
+ return new IndexedDBTransaction(id, connection, callbacks, scope, mode, db,
dmurph 2016/06/22 01:09:48 std::move(connection)
palakj1 2016/06/23 20:56:29 Done
backing_store_transaction);
}

Powered by Google App Engine
This is Rietveld 408576698