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

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

Issue 1238393003: [IndexedDB] Adding traces, perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forgot to start the old test Created 5 years, 3 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
Index: content/browser/indexed_db/indexed_db_tracing.h
diff --git a/content/browser/indexed_db/indexed_db_tracing.h b/content/browser/indexed_db/indexed_db_tracing.h
index 489f157bf569527ca4b302ad0e69260632642414..843c18fc202be46a596afd1f04d4809d763a3fc0 100644
--- a/content/browser/indexed_db/indexed_db_tracing.h
+++ b/content/browser/indexed_db/indexed_db_tracing.h
@@ -10,4 +10,9 @@
#define IDB_TRACE1(a, arg1_name, arg1_val) \
TRACE_EVENT1("IndexedDB", (a), (arg1_name), (arg1_val));
+#define IDB_ASYNC_TRACE_BEGIN(a, id) \
+ TRACE_EVENT_ASYNC_BEGIN0("IndexedDB", (a), (id));
+#define IDB_ASYNC_TRACE_END(a, id) \
+ TRACE_EVENT_ASYNC_END0("IndexedDB", (a), (id));
+
#endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRACING_H_
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.cc ('k') | content/browser/indexed_db/indexed_db_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698