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

Side by Side Diff: content/browser/tracing/tracing_controller_impl.h

Issue 1171813002: [Startup Tracing] Remove |is_recording_| in devtool tracing_handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review fix Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_
6 #define CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ 6 #define CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 bool* out_enabled, 43 bool* out_enabled,
44 base::trace_event::TraceConfig* out_trace_config) override; 44 base::trace_event::TraceConfig* out_trace_config) override;
45 bool CaptureMonitoringSnapshot( 45 bool CaptureMonitoringSnapshot(
46 const scoped_refptr<TraceDataSink>& sink) override; 46 const scoped_refptr<TraceDataSink>& sink) override;
47 bool GetTraceBufferUsage( 47 bool GetTraceBufferUsage(
48 const GetTraceBufferUsageCallback& callback) override; 48 const GetTraceBufferUsageCallback& callback) override;
49 bool SetWatchEvent(const std::string& category_name, 49 bool SetWatchEvent(const std::string& category_name,
50 const std::string& event_name, 50 const std::string& event_name,
51 const WatchEventCallback& callback) override; 51 const WatchEventCallback& callback) override;
52 bool CancelWatchEvent() override; 52 bool CancelWatchEvent() override;
53 bool IsRecording() const override;
53 54
54 void RegisterTracingUI(TracingUI* tracing_ui); 55 void RegisterTracingUI(TracingUI* tracing_ui);
55 void UnregisterTracingUI(TracingUI* tracing_ui); 56 void UnregisterTracingUI(TracingUI* tracing_ui);
56 57
57 // base::trace_event::MemoryDumpManagerDelegate implementation. 58 // base::trace_event::MemoryDumpManagerDelegate implementation.
58 void RequestGlobalMemoryDump( 59 void RequestGlobalMemoryDump(
59 const base::trace_event::MemoryDumpRequestArgs& args, 60 const base::trace_event::MemoryDumpRequestArgs& args,
60 const base::trace_event::MemoryDumpCallback& callback) override; 61 const base::trace_event::MemoryDumpCallback& callback) override;
61 bool IsCoordinatorProcess() const override; 62 bool IsCoordinatorProcess() const override;
62 63
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 std::set<TracingUI*> tracing_uis_; 193 std::set<TracingUI*> tracing_uis_;
193 scoped_refptr<TraceDataSink> trace_data_sink_; 194 scoped_refptr<TraceDataSink> trace_data_sink_;
194 scoped_refptr<TraceDataSink> monitoring_data_sink_; 195 scoped_refptr<TraceDataSink> monitoring_data_sink_;
195 196
196 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); 197 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl);
197 }; 198 };
198 199
199 } // namespace content 200 } // namespace content
200 201
201 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ 202 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/tracing_handler.cc ('k') | content/browser/tracing/tracing_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698