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

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/child/single_thread_idle_task_runner.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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
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 "public/platform/scheduler/child/single_thread_idle_task_runner.h" 5 #include "public/platform/scheduler/child/single_thread_idle_task_runner.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/single_thread_task_runner.h"
8 #include "base/trace_event/blame_context.h" 9 #include "base/trace_event/blame_context.h"
9 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
10 11
11 namespace blink { 12 namespace blink {
12 namespace scheduler { 13 namespace scheduler {
13 14
14 SingleThreadIdleTaskRunner::SingleThreadIdleTaskRunner( 15 SingleThreadIdleTaskRunner::SingleThreadIdleTaskRunner(
15 scoped_refptr<base::SingleThreadTaskRunner> idle_priority_task_runner, 16 scoped_refptr<base::SingleThreadTaskRunner> idle_priority_task_runner,
16 Delegate* delegate) 17 Delegate* delegate)
17 : idle_priority_task_runner_(idle_priority_task_runner), 18 : idle_priority_task_runner_(idle_priority_task_runner),
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 delegate_->DidProcessIdleTask(); 90 delegate_->DidProcessIdleTask();
90 } 91 }
91 92
92 void SingleThreadIdleTaskRunner::SetBlameContext( 93 void SingleThreadIdleTaskRunner::SetBlameContext(
93 base::trace_event::BlameContext* blame_context) { 94 base::trace_event::BlameContext* blame_context) {
94 blame_context_ = blame_context; 95 blame_context_ = blame_context;
95 } 96 }
96 97
97 } // namespace scheduler 98 } // namespace scheduler
98 } // namespace blink 99 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698