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

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

Issue 110983004: IndexedDB: More database<->transaction relationship simplification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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_transaction_coordinator.h
diff --git a/content/browser/indexed_db/indexed_db_transaction_coordinator.h b/content/browser/indexed_db/indexed_db_transaction_coordinator.h
index a5d543c1d8ce942ae75ec84f9b7066f99e825af0..a483dfb8589202d1a5d948ed067d09949adb54ed 100644
--- a/content/browser/indexed_db/indexed_db_transaction_coordinator.h
+++ b/content/browser/indexed_db/indexed_db_transaction_coordinator.h
@@ -25,7 +25,9 @@ class IndexedDBTransactionCoordinator {
// Called by transactions as they start and finish.
void DidCreateTransaction(scoped_refptr<IndexedDBTransaction> transaction);
- void DidFinishTransaction(scoped_refptr<IndexedDBTransaction> transaction);
+ void DidFinishTransaction(IndexedDBTransaction* transaction);
+
+ bool IsRunningVersionChangeTransaction() const;
#ifndef NDEBUG
bool IsActive(IndexedDBTransaction* transaction);
« no previous file with comments | « content/browser/indexed_db/indexed_db_transaction.cc ('k') | content/browser/indexed_db/indexed_db_transaction_coordinator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698