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

Unified Diff: sql/connection.cc

Issue 1406213005: [tracing] Add names to memory-infra dumpers for debugging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@memory-infra-runtime
Patch Set: Created 5 years, 2 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: sql/connection.cc
diff --git a/sql/connection.cc b/sql/connection.cc
index 669344a30b58839600914a4a8bac342a4d47d2dd..1b41ec664e31a57b7ee63d22d188d6a34f7d71f8 100644
--- a/sql/connection.cc
+++ b/sql/connection.cc
@@ -355,7 +355,7 @@ Connection::Connection()
query_time_histogram_(NULL),
clock_(new TimeSource()) {
base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
- this);
+ this, "sql::Connection");
}
Connection::~Connection() {

Powered by Google App Engine
This is Rietveld 408576698