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

Side by Side Diff: trace_event/memory_dump_manager.h

Issue 2045303002: Update to Chromium //base at Chromium commit 3e81715e6d3a4324362635aea46ce1f1a163cca1. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/domokit/base@master
Patch Set: Created 4 years, 6 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 | « time/time_win.cc ('k') | trace_event/memory_dump_manager.cc » ('j') | 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 BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_ 5 #ifndef BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_
6 #define BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_ 6 #define BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/atomicops.h" 10 #include "base/atomicops.h"
(...skipping 14 matching lines...) Expand all
25 25
26 class MemoryDumpManagerDelegate; 26 class MemoryDumpManagerDelegate;
27 class MemoryDumpProvider; 27 class MemoryDumpProvider;
28 class MemoryDumpSessionState; 28 class MemoryDumpSessionState;
29 29
30 // This is the interface exposed to the rest of the codebase to deal with 30 // This is the interface exposed to the rest of the codebase to deal with
31 // memory tracing. The main entry point for clients is represented by 31 // memory tracing. The main entry point for clients is represented by
32 // RequestDumpPoint(). The extension by Un(RegisterDumpProvider). 32 // RequestDumpPoint(). The extension by Un(RegisterDumpProvider).
33 class BASE_EXPORT MemoryDumpManager : public TraceLog::EnabledStateObserver { 33 class BASE_EXPORT MemoryDumpManager : public TraceLog::EnabledStateObserver {
34 public: 34 public:
35 static const char* const kTraceCategoryForTesting; 35 static const char* const kTraceCategory;
36 36
37 // This value is returned as the tracing id of the child processes by 37 // This value is returned as the tracing id of the child processes by
38 // GetTracingProcessId() when tracing is not enabled. 38 // GetTracingProcessId() when tracing is not enabled.
39 static const uint64 kInvalidTracingProcessId; 39 static const uint64 kInvalidTracingProcessId;
40 40
41 static MemoryDumpManager* GetInstance(); 41 static MemoryDumpManager* GetInstance();
42 42
43 // Invoked once per process to register the TraceLog observer. 43 // Invoked once per process to register the TraceLog observer.
44 void Initialize(); 44 void Initialize();
45 45
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 } 260 }
261 261
262 private: 262 private:
263 DISALLOW_COPY_AND_ASSIGN(MemoryDumpManagerDelegate); 263 DISALLOW_COPY_AND_ASSIGN(MemoryDumpManagerDelegate);
264 }; 264 };
265 265
266 } // namespace trace_event 266 } // namespace trace_event
267 } // namespace base 267 } // namespace base
268 268
269 #endif // BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_ 269 #endif // BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_
OLDNEW
« no previous file with comments | « time/time_win.cc ('k') | trace_event/memory_dump_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698