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

Unified Diff: components/scheduler/child/task_queue_manager.cc

Issue 1314903007: Implement WebFrameScheduler and WebPageScheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Record origin in TQM trace event Created 5 years, 3 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: components/scheduler/child/task_queue_manager.cc
diff --git a/components/scheduler/child/task_queue_manager.cc b/components/scheduler/child/task_queue_manager.cc
index c0895ba4e0103d4d7372b136a8a78adcb8b722e4..4dab67e7674990d82a21d162be33513ffccae6d7 100644
--- a/components/scheduler/child/task_queue_manager.cc
+++ b/components/scheduler/child/task_queue_manager.cc
@@ -341,8 +341,9 @@ bool TaskQueueManager::ProcessTaskFromWorkQueue(
WillProcessTask(pending_task));
queue->NotifyWillProcessTask(pending_task);
}
- TRACE_EVENT1(disabled_by_default_tracing_category_,
- "Run Task From Queue", "queue", queue->GetName());
+ TRACE_EVENT2(disabled_by_default_tracing_category_,
+ "Run Task From Queue", "queue", queue->GetName(),
Sami 2015/09/10 12:51:57 Since you're touching this, could you change this
alex clarke (OOO till 29th) 2015/09/10 14:35:58 I'm not sure what happened there, I thought we had
+ "origin", queue->GetOrigin());
task_annotator_.RunTask("TaskQueueManager::PostTask", pending_task);
// Detect if the TaskQueueManager just got deleted. If this happens we must

Powered by Google App Engine
This is Rietveld 408576698