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

Unified Diff: chrome/profiling/profiling_globals.h

Issue 2943733002: Add out-of-process memory logging stream parsing. (Closed)
Patch Set: Remove version 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
Index: chrome/profiling/profiling_globals.h
diff --git a/chrome/profiling/profiling_globals.h b/chrome/profiling/profiling_globals.h
index 84060a7664e1f4ffc4ce675aa87775bf2f35e92b..ccde863e35c73b28e8be41ed8c2018a93eb0f6f3 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/memlog_connection_manager.h"
+#include "chrome/profiling/stack_storage.h"
namespace base {
class MessageLoopForUI;
@@ -24,6 +26,8 @@ class ProfilingGlobals {
static ProfilingGlobals* Get();
base::TaskRunner* GetIORunner();
+ MemlogConnectionManager* GetMemlogConnectionManager();
+ StackStorage* GetStackStorage();
// 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_;
+ StackStorage stack_storage_;
DISALLOW_COPY_AND_ASSIGN(ProfilingGlobals);
};

Powered by Google App Engine
This is Rietveld 408576698