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

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

Issue 109933006: Implement sampling profiler (chromium side change) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « content/browser/media/webrtc_browsertest.cc ('k') | content/browser/tracing/tracing_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698