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

Unified Diff: sql/connection.h

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 | « components/sync/syncable/syncable_id.h ('k') | sql/connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection.h
diff --git a/sql/connection.h b/sql/connection.h
index 5b8d39964ab2aa4e96312b790606c7b0bd0c8b29..52a574b53076f452d0027e077b534ede48380c9d 100644
--- a/sql/connection.h
+++ b/sql/connection.h
@@ -28,6 +28,9 @@ struct sqlite3_stmt;
namespace base {
class FilePath;
class HistogramBase;
+namespace trace_event {
+class MemoryAllocatorDump;
+}
}
namespace sql {
@@ -243,6 +246,8 @@ class SQL_EXPORT Connection {
// get diagnostic information about the database.
std::string GetDiagnosticInfo(int extended_error, Statement* statement);
+ bool ReportMemoryUsage(base::trace_event::MemoryAllocatorDump* mad);
+
// Initialization ------------------------------------------------------------
// Initializes the SQL connection for the given file, returning true if the
« no previous file with comments | « components/sync/syncable/syncable_id.h ('k') | sql/connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698