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

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: rebase Created 4 years 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 f9fb5fd2e3a9f53b5648eef1daf509902d18cf7c..6f216e6e84e3a5eb7380c067b5ba6e2ed65d8675 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 {
scoped_refptr<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