Chromium Code Reviews| Index: base/trace_event/trace_log.h |
| diff --git a/base/trace_event/trace_log.h b/base/trace_event/trace_log.h |
| index 235b9468163ffc596f4123d71fc82348c16adb93..06ee69f4ad71c9d443aff355ef6216ee7e366813 100644 |
| --- a/base/trace_event/trace_log.h |
| +++ b/base/trace_event/trace_log.h |
| @@ -47,8 +47,7 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider { |
| public: |
| enum Mode { |
| DISABLED = 0, |
| - RECORDING_MODE, |
| - MONITORING_MODE, |
| + RECORDING_MODE |
| }; |
| // The pointer returned from GetCategoryGroupEnabledInternal() points to a |
| @@ -58,12 +57,10 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider { |
| enum CategoryGroupEnabledFlags { |
| // Category group enabled for the recording mode. |
| ENABLED_FOR_RECORDING = 1 << 0, |
| - // Category group enabled for the monitoring mode. |
| - ENABLED_FOR_MONITORING = 1 << 1, |
|
Primiano Tucci (use gerrit)
2016/02/08 10:45:21
Isn't this going to break skia?
IIRC they have a f
fmeawad
2016/02/09 00:11:39
There is also a copy in V8 that I plan to update.
|
| // Category group enabled by SetEventCallbackEnabled(). |
| - ENABLED_FOR_EVENT_CALLBACK = 1 << 2, |
| + ENABLED_FOR_EVENT_CALLBACK = 1 << 1, |
| // Category group enabled to export events to ETW. |
| - ENABLED_FOR_ETW_EXPORT = 1 << 3 |
| + ENABLED_FOR_ETW_EXPORT = 1 << 2 |
| }; |
| static TraceLog* GetInstance(); |
| @@ -170,7 +167,6 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider { |
| typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&, |
| bool has_more_events)> OutputCallback; |
| void Flush(const OutputCallback& cb, bool use_worker_thread = false); |
| - void FlushButLeaveBufferIntact(const OutputCallback& flush_output_callback); |
| // Cancels tracing and discards collected data. |
| void CancelTracing(const OutputCallback& cb); |