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

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: 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
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 process.
16 // Embedders of WebMemoryDumpProvider are expected to populate a WebProcessMemor yDump instance with
17 // 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 emp ty object back to
21 // the caller. |absoluteName| uniquely identifies the the dump within the sc ope of a
22 // ProcessMemoryDump. It is possible to express nesting by means of a slash- separated path
23 // semantic (e.g., "allocator_name/arena-1/sub-heap-X").
24 virtual WebMemoryAllocatorDump* createMemoryAllocatorDump(const WebString& a bsoluteName)
25 {
26 return nullptr;
27 }
28 };
29
30 } // namespace blink
31
32 #endif // WebProcessMemoryDump_h
OLDNEW
« public/platform/WebMemoryDumpProvider.h ('K') | « public/platform/WebMemoryDumpProvider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698