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

Side by Side Diff: components/scheduler/base/task_queue_manager.cc

Issue 1846333002: Revert of [tracing] Adding task information to heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « base/trace_event/trace_event.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/scheduler/base/task_queue_manager.h" 5 #include "components/scheduler/base/task_queue_manager.h"
6 6
7 #include <queue> 7 #include <queue>
8 #include <set> 8 #include <set>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/metrics/histogram_macros.h" 11 #include "base/metrics/histogram_macros.h"
12 #include "base/trace_event/trace_event.h"
13 #include "components/scheduler/base/real_time_domain.h" 12 #include "components/scheduler/base/real_time_domain.h"
14 #include "components/scheduler/base/task_queue_impl.h" 13 #include "components/scheduler/base/task_queue_impl.h"
15 #include "components/scheduler/base/task_queue_manager_delegate.h" 14 #include "components/scheduler/base/task_queue_manager_delegate.h"
16 #include "components/scheduler/base/task_queue_selector.h" 15 #include "components/scheduler/base/task_queue_selector.h"
17 #include "components/scheduler/base/work_queue.h" 16 #include "components/scheduler/base/work_queue.h"
18 #include "components/scheduler/base/work_queue_sets.h" 17 #include "components/scheduler/base/work_queue_sets.h"
19 18
20 namespace scheduler { 19 namespace scheduler {
21 20
22 namespace { 21 namespace {
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 internal::WorkQueue* work_queue) { 406 internal::WorkQueue* work_queue) {
408 DCHECK(main_thread_checker_.CalledOnValidThread()); 407 DCHECK(main_thread_checker_.CalledOnValidThread());
409 DCHECK(!work_queue->Empty()); 408 DCHECK(!work_queue->Empty());
410 if (observer_) { 409 if (observer_) {
411 observer_->OnTriedToExecuteBlockedTask(*work_queue->task_queue(), 410 observer_->OnTriedToExecuteBlockedTask(*work_queue->task_queue(),
412 *work_queue->GetFrontTask()); 411 *work_queue->GetFrontTask());
413 } 412 }
414 } 413 }
415 414
416 } // namespace scheduler 415 } // namespace scheduler
OLDNEW
« no previous file with comments | « base/trace_event/trace_event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698