| Index: base/trace_event/memory_dump_session_state.h
|
| diff --git a/base/trace_event/memory_dump_session_state.h b/base/trace_event/memory_dump_session_state.h
|
| index f199ec1a2f9c9e8a07458366924996763fd0674c..29a2da9b9f5500061fb6f636c27984fdc4a41d6a 100644
|
| --- a/base/trace_event/memory_dump_session_state.h
|
| +++ b/base/trace_event/memory_dump_session_state.h
|
| @@ -46,6 +46,8 @@ class BASE_EXPORT MemoryDumpSessionState
|
|
|
| void SetMemoryDumpConfig(const TraceConfig::MemoryDumpConfig& config);
|
|
|
| + bool is_polling_enabled() { return is_polling_enabled_; }
|
| +
|
| private:
|
| friend class RefCountedThreadSafe<MemoryDumpSessionState>;
|
| ~MemoryDumpSessionState();
|
| @@ -61,6 +63,9 @@ class BASE_EXPORT MemoryDumpSessionState
|
| // The memory dump config, copied at the time when the tracing session was
|
| // started.
|
| TraceConfig::MemoryDumpConfig memory_dump_config_;
|
| +
|
| + // True if memory polling is enabled by the config in the tracing session.
|
| + bool is_polling_enabled_;
|
| };
|
|
|
| } // namespace trace_event
|
|
|