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

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

Issue 2472213003: [IndexedDB] Refactoring to remove ref ptrs and host transaction ids. (Closed)
Patch Set: comments & rebase Created 4 years, 1 month 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.h
diff --git a/content/browser/indexed_db/indexed_db_class_factory.h b/content/browser/indexed_db/indexed_db_class_factory.h
index f8b359d15f1b6915cc34f2f0a633418dc1b681f2..a68ffd052c8bd43dd1cfb9cb96f94e405b29886e 100644
--- a/content/browser/indexed_db/indexed_db_class_factory.h
+++ b/content/browser/indexed_db/indexed_db_class_factory.h
@@ -47,9 +47,9 @@ class CONTENT_EXPORT IndexedDBClassFactory {
IndexedDBFactory* factory,
const IndexedDBDatabase::Identifier& unique_identifier);
- virtual IndexedDBTransaction* CreateIndexedDBTransaction(
+ virtual std::unique_ptr<IndexedDBTransaction> CreateIndexedDBTransaction(
int64_t id,
- base::WeakPtr<IndexedDBConnection> connection,
+ IndexedDBConnection* connection,
const std::set<int64_t>& scope,
blink::WebIDBTransactionMode mode,
IndexedDBBackingStore::Transaction* backing_store_transaction);

Powered by Google App Engine
This is Rietveld 408576698