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

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

Issue 1002103004: NOT FOR REVIEW - Slow Reports Reference Implementation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: JSON serialization. Created 5 years, 7 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 17 matching lines...) Expand all
28 public base::trace_event::MemoryDumpManagerDelegate { 28 public base::trace_event::MemoryDumpManagerDelegate {
29 public: 29 public:
30 static TracingControllerImpl* GetInstance(); 30 static TracingControllerImpl* GetInstance();
31 31
32 // TracingController implementation. 32 // TracingController implementation.
33 bool GetCategories(const GetCategoriesDoneCallback& callback) override; 33 bool GetCategories(const GetCategoriesDoneCallback& callback) override;
34 bool EnableRecording(const base::trace_event::CategoryFilter& category_filter, 34 bool EnableRecording(const base::trace_event::CategoryFilter& category_filter,
35 const base::trace_event::TraceOptions& trace_options, 35 const base::trace_event::TraceOptions& trace_options,
36 const EnableRecordingDoneCallback& callback) override; 36 const EnableRecordingDoneCallback& callback) override;
37 bool DisableRecording(const scoped_refptr<TraceDataSink>& sink) override; 37 bool DisableRecording(const scoped_refptr<TraceDataSink>& sink) override;
38 bool IsRecordingEnabled() const;
38 bool EnableMonitoring( 39 bool EnableMonitoring(
39 const base::trace_event::CategoryFilter& category_filter, 40 const base::trace_event::CategoryFilter& category_filter,
40 const base::trace_event::TraceOptions& trace_options, 41 const base::trace_event::TraceOptions& trace_options,
41 const EnableMonitoringDoneCallback& callback) override; 42 const EnableMonitoringDoneCallback& callback) override;
42 bool DisableMonitoring( 43 bool DisableMonitoring(
43 const DisableMonitoringDoneCallback& callback) override; 44 const DisableMonitoringDoneCallback& callback) override;
44 void GetMonitoringStatus( 45 void GetMonitoringStatus(
45 bool* out_enabled, 46 bool* out_enabled,
46 base::trace_event::CategoryFilter* out_category_filter, 47 base::trace_event::CategoryFilter* out_category_filter,
47 base::trace_event::TraceOptions* out_trace_options) override; 48 base::trace_event::TraceOptions* out_trace_options) override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 std::set<std::string> known_category_groups_; 199 std::set<std::string> known_category_groups_;
199 std::set<TracingUI*> tracing_uis_; 200 std::set<TracingUI*> tracing_uis_;
200 scoped_refptr<TraceDataSink> trace_data_sink_; 201 scoped_refptr<TraceDataSink> trace_data_sink_;
201 scoped_refptr<TraceDataSink> monitoring_data_sink_; 202 scoped_refptr<TraceDataSink> monitoring_data_sink_;
202 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); 203 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl);
203 }; 204 };
204 205
205 } // namespace content 206 } // namespace content
206 207
207 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ 208 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/tracing/background_tracing_manager_impl.cc ('k') | content/browser/tracing/tracing_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698