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

Unified Diff: sql/connection.cc

Issue 2382443006: Sync MDP: implement MemoryDumpProvider
Patch Set: Created 4 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
« no previous file with comments | « sql/connection.h ('k') | sql/connection_memory_dump_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection.cc
diff --git a/sql/connection.cc b/sql/connection.cc
index 073b032cde62157b69a91512a357ce450eb1e4d5..8c6c8f17474212f93bcb134881c8456a9a23992a 100644
--- a/sql/connection.cc
+++ b/sql/connection.cc
@@ -1989,6 +1989,12 @@ bool Connection::IntegrityCheckHelper(
return ret;
}
+bool Connection::ReportMemoryUsage(
+ base::trace_event::MemoryAllocatorDump* mad) {
+ return memory_dump_provider_ &&
+ memory_dump_provider_->ReportMemoryUsage(mad);
+}
+
base::TimeTicks TimeSource::Now() {
return base::TimeTicks::Now();
}
« no previous file with comments | « sql/connection.h ('k') | sql/connection_memory_dump_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698