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

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

Issue 2691423005: [IndexedDB] Transaction limitting (Closed)
Patch Set: Created 3 years, 10 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 843c18fc202be46a596afd1f04d4809d763a3fc0..ee94737000814f7d4cbbe3996f5b0ea3b60f4a68 100644
--- a/content/browser/indexed_db/indexed_db_tracing.h
+++ b/content/browser/indexed_db/indexed_db_tracing.h
@@ -15,4 +15,9 @@
#define IDB_ASYNC_TRACE_END(a, id) \
TRACE_EVENT_ASYNC_END0("IndexedDB", (a), (id));
+#define IDB_TRACE_COUNTER1(a, value) TRACE_COUNTER1("IndexedDB", (a), (value))
+
+#define IDB_TRACE_COUNTER2(category, a, a_value, b, b_value) \
+ TRACE_COUNTER2("IndexedDB", (category), (a), (a_value), (b), (b_value))
+
#endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRACING_H_

Powered by Google App Engine
This is Rietveld 408576698