Index: sql/connection.h |
diff --git a/sql/connection.h b/sql/connection.h |
index 0fb251dd8cc701b5f6a976f7a5851e3baa1549d6..20ea3cd5101b199f20be8c143403bec9fd42f3dd 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 { |
@@ -251,6 +254,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 |