| 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);
|
| };
|
|
|