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

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: 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_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 5a12bdf4a571efa10d28d7867720b97514c0f916..8fe19bce726feaf72fd05f6502a5e47a6e238712 100644
--- a/content/browser/indexed_db/indexed_db_database_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_database_callbacks.h
@@ -18,6 +18,7 @@ namespace content {
class IndexedDBDatabaseError;
class IndexedDBDispatcherHost;
class IndexedDBObserverChanges;
+class IndexedDBTransaction;
class CONTENT_EXPORT IndexedDBDatabaseCallbacks
: public base::RefCounted<IndexedDBDatabaseCallbacks> {
@@ -30,9 +31,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(
std::unique_ptr<IndexedDBObserverChanges> changes);

Powered by Google App Engine
This is Rietveld 408576698