OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 TraceMessageFilter* trace_message_filter); | 115 TraceMessageFilter* trace_message_filter); |
116 void OnMonitoringSnapshotFileClosed(); | 116 void OnMonitoringSnapshotFileClosed(); |
117 | 117 |
118 void OnTraceBufferPercentFullReply( | 118 void OnTraceBufferPercentFullReply( |
119 TraceMessageFilter* trace_message_filter, | 119 TraceMessageFilter* trace_message_filter, |
120 float percent_full); | 120 float percent_full); |
121 | 121 |
122 void OnWatchEventMatched(); | 122 void OnWatchEventMatched(); |
123 | 123 |
124 void SetEnabledOnFileThread(const std::string& category_filter, | 124 void SetEnabledOnFileThread(const std::string& category_filter, |
| 125 int mode, |
125 int options, | 126 int options, |
126 const base::Closure& callback); | 127 const base::Closure& callback); |
127 void SetDisabledOnFileThread(const base::Closure& callback); | 128 void SetDisabledOnFileThread(const base::Closure& callback); |
128 void OnEnableRecordingDone(const std::string& category_filter, | 129 void OnEnableRecordingDone(const std::string& category_filter, |
129 int trace_options, | 130 int trace_options, |
130 const EnableRecordingDoneCallback& callback); | 131 const EnableRecordingDoneCallback& callback); |
131 void OnDisableRecordingDone(const base::FilePath& result_file_path, | 132 void OnDisableRecordingDone(const base::FilePath& result_file_path, |
132 const TracingFileResultCallback& callback); | 133 const TracingFileResultCallback& callback); |
133 void OnEnableMonitoringDone(const std::string& category_filter, | 134 void OnEnableMonitoringDone(const std::string& category_filter, |
134 int trace_options, | 135 int trace_options, |
(...skipping 27 matching lines...) Expand all Loading... |
162 | 163 |
163 std::set<std::string> known_category_groups_; | 164 std::set<std::string> known_category_groups_; |
164 scoped_ptr<ResultFile> result_file_; | 165 scoped_ptr<ResultFile> result_file_; |
165 scoped_ptr<ResultFile> monitoring_snapshot_file_; | 166 scoped_ptr<ResultFile> monitoring_snapshot_file_; |
166 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); | 167 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); |
167 }; | 168 }; |
168 | 169 |
169 } // namespace content | 170 } // namespace content |
170 | 171 |
171 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ | 172 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ |
OLD | NEW |