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

Unified Diff: chrome/browser/ui/webui/tracing_ui.cc

Issue 11823016: Trace category groups and category filter. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor edits from previous changeset, mainly fixing line exceeding 80 chars. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/tracing_ui.cc
diff --git a/chrome/browser/ui/webui/tracing_ui.cc b/chrome/browser/ui/webui/tracing_ui.cc
index a8ecf0222e868b847a887377750c53b4bf5d172c..8f31d8480e842e73b60658ff6d0f4c73a73a1838 100644
--- a/chrome/browser/ui/webui/tracing_ui.cc
+++ b/chrome/browser/ui/webui/tracing_ui.cc
@@ -402,8 +402,8 @@ void TracingMessageHandler::OnBeginTracing(const ListValue* args) {
bool ok = args->GetBoolean(0, &system_tracing_requested);
DCHECK(ok);
- std::string chrome_categories;
- ok = args->GetString(1, &chrome_categories);
+ std::string tag_patterns;
+ ok = args->GetString(1, &tag_patterns);
DCHECK(ok);
trace_enabled_ = true;
@@ -411,7 +411,7 @@ void TracingMessageHandler::OnBeginTracing(const ListValue* args) {
// Ex: Multiple about:gpu traces can not trace simultaneously.
// TODO(nduca) send feedback to javascript about whether or not BeginTracing
// was successful.
- TraceController::GetInstance()->BeginTracing(this, chrome_categories);
+ TraceController::GetInstance()->BeginTracing(this, tag_patterns);
if (system_tracing_requested) {
#if defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698