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

Unified Diff: trunk/src/content/browser/tracing/tracing_ui.cc

Issue 89753004: Revert 237280 "Remove TraceController" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/browser/tracing/tracing_ui.cc
===================================================================
--- trunk/src/content/browser/tracing/tracing_ui.cc (revision 237451)
+++ trunk/src/content/browser/tracing/tracing_ui.cc (working copy)
@@ -86,10 +86,11 @@
if (use_continuous_tracing)
tracing_options |= TracingController::RECORD_CONTINUOUSLY;
+ base::debug::CategoryFilter category_filter(category_filter_string);
return TracingController::GetInstance()->EnableRecording(
- category_filter_string,
+ category_filter,
static_cast<TracingController::Options>(tracing_options),
- base::Bind(&OnRecordingEnabledAck, callback));
+ base::Bind(OnRecordingEnabledAck, callback));
}
void OnRecordingEnabledAck(const WebUIDataSource::GotDataCallback& callback) {
« no previous file with comments | « trunk/src/content/browser/tracing/tracing_controller_impl.cc ('k') | trunk/src/content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698