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

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

Issue 1638443003: tracing_controller: Eliminates extra parameter of StartAgentTracingDone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | content/browser/tracing/tracing_controller_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void FinalizeGlobalMemoryDumpIfAllProcessesReplied(); 160 void FinalizeGlobalMemoryDumpIfAllProcessesReplied();
161 161
162 void OnWatchEventMatched(); 162 void OnWatchEventMatched();
163 163
164 void SetEnabledOnFileThread( 164 void SetEnabledOnFileThread(
165 const base::trace_event::TraceConfig& trace_config, 165 const base::trace_event::TraceConfig& trace_config,
166 int mode, 166 int mode,
167 const base::Closure& callback); 167 const base::Closure& callback);
168 void SetDisabledOnFileThread(const base::Closure& callback); 168 void SetDisabledOnFileThread(const base::Closure& callback);
169 void OnStartAgentTracingDone( 169 void OnStartAgentTracingDone(
170 const base::trace_event::TraceConfig& trace_config, 170 const base::trace_event::TraceConfig& trace_config);
171 const StartTracingDoneCallback& callback);
172 void StopTracingAfterClockSync(); 171 void StopTracingAfterClockSync();
173 void OnStopTracingDone(); 172 void OnStopTracingDone();
174 void OnStartMonitoringDone( 173 void OnStartMonitoringDone(
175 const base::trace_event::TraceConfig& trace_config, 174 const base::trace_event::TraceConfig& trace_config,
176 const StartMonitoringDoneCallback& callback); 175 const StartMonitoringDoneCallback& callback);
177 void OnStopMonitoringDone(const StopMonitoringDoneCallback& callback); 176 void OnStopMonitoringDone(const StopMonitoringDoneCallback& callback);
178 177
179 void OnMonitoringStateChanged(bool is_monitoring); 178 void OnMonitoringStateChanged(bool is_monitoring);
180 179
181 int GetUniqueClockSyncID(); 180 int GetUniqueClockSyncID();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 std::set<TracingUI*> tracing_uis_; 232 std::set<TracingUI*> tracing_uis_;
234 scoped_refptr<TraceDataSink> trace_data_sink_; 233 scoped_refptr<TraceDataSink> trace_data_sink_;
235 scoped_refptr<TraceDataSink> monitoring_data_sink_; 234 scoped_refptr<TraceDataSink> monitoring_data_sink_;
236 235
237 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); 236 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl);
238 }; 237 };
239 238
240 } // namespace content 239 } // namespace content
241 240
242 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ 241 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/tracing/tracing_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698