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

Side by Side Diff: sql/sql_memory_dump_provider.h

Issue 1434993002: [tracing] Add separate dump provider for sql connection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web_cache2_base
Patch Set: Fixes. Created 4 years, 11 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 unified diff | Download patch
« sql/connection_memory_dump_provider.cc ('K') | « sql/sql.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SQL_PROCESS_MEMORY_DUMP_PROVIDER_H 5 #ifndef SQL_SQL_MEMORY_DUMP_PROVIDER_H
6 #define SQL_PROCESS_MEMORY_DUMP_PROVIDER_H 6 #define SQL_SQL_MEMORY_DUMP_PROVIDER_H
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "base/trace_event/memory_dump_provider.h" 10 #include "base/trace_event/memory_dump_provider.h"
11 #include "sql/sql_export.h" 11 #include "sql/sql_export.h"
12 12
13 namespace sql { 13 namespace sql {
14 14
15 // Adds process-wide memory usage statistics about sqlite to chrome://tracing. 15 // Adds process-wide memory usage statistics about sqlite to chrome://tracing.
16 // sql::Connection::OnMemoryDump adds per-connection memory statistics. 16 // sql::Connection::OnMemoryDump adds per-connection memory statistics.
(...skipping 10 matching lines...) Expand all
27 friend struct base::DefaultSingletonTraits<SqlMemoryDumpProvider>; 27 friend struct base::DefaultSingletonTraits<SqlMemoryDumpProvider>;
28 28
29 SqlMemoryDumpProvider(); 29 SqlMemoryDumpProvider();
30 ~SqlMemoryDumpProvider() override; 30 ~SqlMemoryDumpProvider() override;
31 31
32 DISALLOW_COPY_AND_ASSIGN(SqlMemoryDumpProvider); 32 DISALLOW_COPY_AND_ASSIGN(SqlMemoryDumpProvider);
33 }; 33 };
34 34
35 } // namespace sql 35 } // namespace sql
36 36
37 #endif // SQL_PROCESS_MEMORY_DUMP_PROVIDER_H 37 #endif // SQL_SQL_MEMORY_DUMP_PROVIDER_H
OLDNEW
« sql/connection_memory_dump_provider.cc ('K') | « sql/sql.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698