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

Side by Side Diff: public/platform/WebProcessMemoryDump.h

Issue 1111383002: [tracing] Expose memory-infra tracing infrastructure to Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Wrapping at 80 cols Created 5 years, 7 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 | « public/platform/WebMemoryDumpProvider.h ('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
(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 WebProcessMemoryDump_h
6 #define WebProcessMemoryDump_h
7
8 #include "WebNonCopyable.h"
9 #include "WebString.h"
10
11 namespace blink {
12
13 class WebMemoryAllocatorDump;
14
15 // A container which holds all the dumps for the various allocators for a given
16 // process. Embedders of WebMemoryDumpProvider are expected to populate a
17 // WebProcessMemoryDump instance with the stats of their allocators.
18 class BLINK_PLATFORM_EXPORT WebProcessMemoryDump : public WebNonCopyable {
19 public:
20 // Creates a new MemoryAllocatorDump with the given name and returns the
21 // empty object back to the caller. |absoluteName| uniquely identifies the
22 // dump within the scope of a ProcessMemoryDump. It is possible to express
23 // nesting by means of a slash-separated path naming (e.g.,
24 // "allocator_name/arena_1/subheap_X").
25 virtual WebMemoryAllocatorDump* createMemoryAllocatorDump(const WebString& a bsoluteName)
26 {
27 return nullptr;
28 }
29 };
30
31 } // namespace blink
32
33 #endif // WebProcessMemoryDump_h
OLDNEW
« no previous file with comments | « public/platform/WebMemoryDumpProvider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698