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

Unified Diff: chrome/profiling/profiling_globals.h

Issue 2943733002: Add out-of-process memory logging stream parsing. (Closed)
Patch Set: Add TODO Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/profiling/memlog_stream_parser.cc ('k') | chrome/profiling/profiling_globals.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/profiling/profiling_globals.h
diff --git a/chrome/profiling/profiling_globals.h b/chrome/profiling/profiling_globals.h
index 84060a7664e1f4ffc4ce675aa87775bf2f35e92b..25970a8a8709ff1511c9ad36cd32113ff660431e 100644
--- a/chrome/profiling/profiling_globals.h
+++ b/chrome/profiling/profiling_globals.h
@@ -10,6 +10,8 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/threading/thread.h"
+#include "chrome/profiling/backtrace_storage.h"
+#include "chrome/profiling/memlog_connection_manager.h"
namespace base {
class MessageLoopForUI;
@@ -24,6 +26,8 @@ class ProfilingGlobals {
static ProfilingGlobals* Get();
base::TaskRunner* GetIORunner();
+ MemlogConnectionManager* GetMemlogConnectionManager();
+ BacktraceStorage* GetBacktraceStorage();
// Returns non-null when inside RunMainMessageLoop. Call only on the
// main thread (otherwise there's a shutdown race).
@@ -40,6 +44,8 @@ class ProfilingGlobals {
base::MessageLoopForUI* main_message_loop_ = nullptr;
base::Thread io_thread_;
+ MemlogConnectionManager memlog_connection_manager_;
+ BacktraceStorage backtrace_storage_;
DISALLOW_COPY_AND_ASSIGN(ProfilingGlobals);
};
« no previous file with comments | « chrome/profiling/memlog_stream_parser.cc ('k') | chrome/profiling/profiling_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698