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

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

Issue 2472213003: [IndexedDB] Refactoring to remove ref ptrs and host transaction ids. (Closed)
Patch Set: comments 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/mock_indexed_db_database_callbacks.h
diff --git a/content/browser/indexed_db/mock_indexed_db_database_callbacks.h b/content/browser/indexed_db/mock_indexed_db_database_callbacks.h
index 20ea2b5430d77ec26cc93402f4ff9ec52d6bbb32..a8e52902aab523264e05343339ad60c209ff1409 100644
--- a/content/browser/indexed_db/mock_indexed_db_database_callbacks.h
+++ b/content/browser/indexed_db/mock_indexed_db_database_callbacks.h
@@ -19,9 +19,9 @@ class MockIndexedDBDatabaseCallbacks : public IndexedDBDatabaseCallbacks {
void OnVersionChange(int64_t old_version, int64_t new_version) override {}
void OnForcedClose() override;
- void OnAbort(int64_t transaction_id,
+ void OnAbort(const IndexedDBTransaction& transaction,
const IndexedDBDatabaseError& error) override;
- void OnComplete(int64_t transaction_id) override {}
+ void OnComplete(const IndexedDBTransaction& transaction) override {}
bool abort_called() const { return abort_called_; }
bool forced_close_called() const { return forced_close_called_; }

Powered by Google App Engine
This is Rietveld 408576698