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

Unified Diff: content/browser/indexed_db/indexed_db_database_callbacks.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_database_callbacks.h
diff --git a/content/browser/indexed_db/indexed_db_database_callbacks.h b/content/browser/indexed_db/indexed_db_database_callbacks.h
index 23298cdebf379efd7f47b3e601fa351e88651d4c..1978d720bf7f3a414e671adb6af3645e66ae690c 100644
--- a/content/browser/indexed_db/indexed_db_database_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_database_callbacks.h
@@ -17,6 +17,7 @@
namespace content {
class IndexedDBDatabaseError;
class IndexedDBDispatcherHost;
+class IndexedDBTransaction;
class CONTENT_EXPORT IndexedDBDatabaseCallbacks
: public base::RefCounted<IndexedDBDatabaseCallbacks> {
@@ -28,9 +29,9 @@ class CONTENT_EXPORT IndexedDBDatabaseCallbacks
virtual void OnForcedClose();
virtual void OnVersionChange(int64_t old_version, int64_t new_version);
- virtual void OnAbort(int64_t host_transaction_id,
+ virtual void OnAbort(const IndexedDBTransaction& transaction,
const IndexedDBDatabaseError& error);
- virtual void OnComplete(int64_t host_transaction_id);
+ virtual void OnComplete(const IndexedDBTransaction& transaction);
virtual void OnDatabaseChange(
::indexed_db::mojom::ObserverChangesPtr changes);

Powered by Google App Engine
This is Rietveld 408576698