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

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

Issue 105893004: Sampling profiling thread should be joined in a FILE thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const std::vector<std::string>& known_category_groups); 110 const std::vector<std::string>& known_category_groups);
111 void OnResultFileClosed(); 111 void OnResultFileClosed();
112 112
113 void OnCaptureMonitoringSnapshotAcked(); 113 void OnCaptureMonitoringSnapshotAcked();
114 void OnMonitoringSnapshotFileClosed(); 114 void OnMonitoringSnapshotFileClosed();
115 115
116 void OnTraceBufferPercentFullReply(float percent_full); 116 void OnTraceBufferPercentFullReply(float percent_full);
117 117
118 void OnWatchEventMatched(); 118 void OnWatchEventMatched();
119 119
120 void SetEnabled(const std::string& category_filter,
121 int options,
122 const base::Closure& callback);
123 void SetDisabled(const base::Closure& callback);
124 void OnEnableRecordingDone(const std::string& category_filter,
125 int trace_options,
126 const EnableRecordingDoneCallback& callback);
127 void OnDisableRecordingDone(const base::FilePath& result_file_path,
128 const TracingFileResultCallback& callback);
129 void OnEnableMonitoringDone(const std::string& category_filter,
130 int trace_options,
131 const EnableMonitoringDoneCallback& callback);
132 void OnDisableMonitoringDone(const DisableMonitoringDoneCallback& callback);
133
120 TraceMessageFilterMap trace_message_filters_; 134 TraceMessageFilterMap trace_message_filters_;
121 // Pending acks for DisableRecording. 135 // Pending acks for DisableRecording.
122 int pending_disable_recording_ack_count_; 136 int pending_disable_recording_ack_count_;
123 // Pending acks for CaptureMonitoringSnapshot. 137 // Pending acks for CaptureMonitoringSnapshot.
124 int pending_capture_monitoring_snapshot_ack_count_; 138 int pending_capture_monitoring_snapshot_ack_count_;
125 // Pending acks for GetTraceBufferPercentFull. 139 // Pending acks for GetTraceBufferPercentFull.
126 int pending_trace_buffer_percent_full_ack_count_; 140 int pending_trace_buffer_percent_full_ack_count_;
127 float maximum_trace_buffer_percent_full_; 141 float maximum_trace_buffer_percent_full_;
128 142
129 bool is_recording_; 143 bool is_recording_;
(...skipping 10 matching lines...) Expand all
140 154
141 std::set<std::string> known_category_groups_; 155 std::set<std::string> known_category_groups_;
142 scoped_ptr<ResultFile> result_file_; 156 scoped_ptr<ResultFile> result_file_;
143 scoped_ptr<ResultFile> monitoring_snapshot_file_; 157 scoped_ptr<ResultFile> monitoring_snapshot_file_;
144 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl); 158 DISALLOW_COPY_AND_ASSIGN(TracingControllerImpl);
145 }; 159 };
146 160
147 } // namespace content 161 } // namespace content
148 162
149 #endif // CONTENT_BROWSER_TRACING_TRACING_CONTROLLER_IMPL_H_ 163 #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') | content/browser/tracing/tracing_controller_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698