Index: sql/connection.h |
diff --git a/sql/connection.h b/sql/connection.h |
index 5b8d39964ab2aa4e96312b790606c7b0bd0c8b29..d6e4fd1d66dd93cb75527fb0876106604d7c063a 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,9 @@ class SQL_EXPORT Connection { |
// get diagnostic information about the database. |
std::string GetDiagnosticInfo(int extended_error, Statement* statement); |
+ // Reports memory usage into provided memory dump. |
+ bool ReportMemoryUsage(base::trace_event::MemoryAllocatorDump* mad); |
+ |
// Initialization ------------------------------------------------------------ |
// Initializes the SQL connection for the given file, returning true if the |