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

Unified Diff: sql/connection.cc

Issue 2452713003: [Sync] Implement MemoryDumpProvider. (Closed)
Patch Set: Fix presumit; fix Windows; git cl format Created 4 years, 1 month 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 788329bafd33632c6a27d9f81f3ab760cabe4c59..a02b76423ae637762d45dbc814e1b202172366d5 100644
--- a/sql/connection.cc
+++ b/sql/connection.cc
@@ -2044,6 +2044,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