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

Side by Side Diff: base/trace_event/process_memory_dump.h

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « base/trace_event/memory_dump_provider.h ('k') | base/trace_event/process_memory_dump.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_
6 #define BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_
7
8 #include "base/base_export.h"
9 #include "base/basictypes.h"
10 #include "base/trace_event/trace_event_impl.h"
11
12 namespace base {
13 namespace trace_event {
14
15 // A container which holds the dumps produced by the MemoryDumpProvider(s)
16 // for a specific process. ProcessMemoryDump is as a strongly typed container
17 // which enforces the data model for each memory dump point.
18 // At trace generation time (i.e. when AppendAsTraceFormat is called) the
19 // ProcessMemoryDump will compose a key-value dictionary of the various dumps
20 // obtained during at trace dump point time.
21 class BASE_EXPORT ProcessMemoryDump : public ConvertableToTraceFormat {
22 public:
23 ProcessMemoryDump();
24
25 // ConvertableToTraceFormat implementation.
26 void AppendAsTraceFormat(std::string* out) const override;
27
28 private:
29 ~ProcessMemoryDump() override;
30
31 DISALLOW_COPY_AND_ASSIGN(ProcessMemoryDump);
32 };
33
34 } // namespace trace_event
35 } // namespace base
36
37 #endif // BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_
OLDNEW
« no previous file with comments | « base/trace_event/memory_dump_provider.h ('k') | base/trace_event/process_memory_dump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698