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

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

Issue 171143002: Implements Windows system tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tracing
Patch Set: nits Created 6 years, 10 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 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void OnLocalMonitoringTraceDataCollected( 109 void OnLocalMonitoringTraceDataCollected(
110 const scoped_refptr<base::RefCountedString>& events_str_ptr, 110 const scoped_refptr<base::RefCountedString>& events_str_ptr,
111 bool has_more_events); 111 bool has_more_events);
112 112
113 void OnDisableRecordingAcked( 113 void OnDisableRecordingAcked(
114 TraceMessageFilter* trace_message_filter, 114 TraceMessageFilter* trace_message_filter,
115 const std::vector<std::string>& known_category_groups); 115 const std::vector<std::string>& known_category_groups);
116 void OnDisableRecordingComplete(); 116 void OnDisableRecordingComplete();
117 void OnResultFileClosed(); 117 void OnResultFileClosed();
118 118
119 #if defined(OS_CHROMEOS) 119 #if defined(OS_CHROMEOS) || defined(OS_WIN)
120 void OnEndSystemTracingAcked( 120 void OnEndSystemTracingAcked(
121 const scoped_refptr<base::RefCountedString>& events_str_ptr); 121 const scoped_refptr<base::RefCountedString>& events_str_ptr);
122 #endif 122 #endif
123 123
124 void OnCaptureMonitoringSnapshotAcked( 124 void OnCaptureMonitoringSnapshotAcked(
125 TraceMessageFilter* trace_message_filter); 125 TraceMessageFilter* trace_message_filter);
126 void OnMonitoringSnapshotFileClosed(); 126 void OnMonitoringSnapshotFileClosed();
127 127
128 void OnTraceBufferPercentFullReply( 128 void OnTraceBufferPercentFullReply(
129 TraceMessageFilter* trace_message_filter, 129 TraceMessageFilter* trace_message_filter,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 std::set<std::string> known_category_groups_; 180 std::set<std::string> known_category_groups_;
181 std::set<TracingUI*> tracing_uis_; 181 std::set<TracingUI*> tracing_uis_;
182 scoped_ptr<ResultFile> result_file_; 182 scoped_ptr<ResultFile> result_file_;
183 scoped_ptr<ResultFile> monitoring_snapshot_file_; 183 scoped_ptr<ResultFile> monitoring_snapshot_file_;
184 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); 184 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl);
185 }; 185 };
186 186
187 } // namespace content 187 } // namespace content
188 188
189 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ 189 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698