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

Unified Diff: content/browser/indexed_db/indexed_db_transaction.cc

Issue 332553002: Tracing out IndexedDB transaction ID's for chrome://tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added parens around macro parameters Created 6 years, 6 months 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
« no previous file with comments | « content/browser/indexed_db/indexed_db_tracing.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_transaction.cc
diff --git a/content/browser/indexed_db/indexed_db_transaction.cc b/content/browser/indexed_db/indexed_db_transaction.cc
index c7689b75e477b9092f46288d29d290aa932743fe..4de6784ae8c34a95957addae7761a55b7fd99ae3 100644
--- a/content/browser/indexed_db/indexed_db_transaction.cc
+++ b/content/browser/indexed_db/indexed_db_transaction.cc
@@ -131,7 +131,7 @@ void IndexedDBTransaction::Abort() {
}
void IndexedDBTransaction::Abort(const IndexedDBDatabaseError& error) {
- IDB_TRACE("IndexedDBTransaction::Abort");
+ IDB_TRACE1("IndexedDBTransaction::Abort", "txn.id", id());
if (state_ == FINISHED)
return;
@@ -236,7 +236,7 @@ void IndexedDBTransaction::BlobWriteComplete(bool success) {
}
void IndexedDBTransaction::Commit() {
- IDB_TRACE("IndexedDBTransaction::Commit");
+ IDB_TRACE1("IndexedDBTransaction::Commit", "txn.id", id());
// In multiprocess ports, front-end may have requested a commit but
// an abort has already been initiated asynchronously by the
@@ -319,7 +319,7 @@ void IndexedDBTransaction::CommitPhaseTwo() {
}
void IndexedDBTransaction::ProcessTaskQueue() {
- IDB_TRACE("IndexedDBTransaction::ProcessTaskQueue");
+ IDB_TRACE1("IndexedDBTransaction::ProcessTaskQueue", "txn.id", id());
// May have been aborted.
if (!should_process_queue_)
« no previous file with comments | « content/browser/indexed_db/indexed_db_tracing.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698