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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream 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 // An implementation of WebThread in terms of base::MessageLoop and 5 // An implementation of WebThread in terms of base::MessageLoop and
6 // base::Thread 6 // base::Thread
7 7
8 #include "public/platform/scheduler/child/webthread_base.h" 8 #include "public/platform/scheduler/child/webthread_base.h"
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/message_loop/message_loop.h"
13 #include "base/pending_task.h" 14 #include "base/pending_task.h"
14 #include "base/threading/platform_thread.h" 15 #include "base/threading/platform_thread.h"
15 #include "platform/scheduler/child/compositor_worker_scheduler.h" 16 #include "platform/scheduler/child/compositor_worker_scheduler.h"
16 #include "platform/scheduler/child/scheduler_tqm_delegate_impl.h" 17 #include "platform/scheduler/child/scheduler_tqm_delegate_impl.h"
17 #include "platform/scheduler/child/webthread_impl_for_worker_scheduler.h" 18 #include "platform/scheduler/child/webthread_impl_for_worker_scheduler.h"
18 #include "platform/scheduler/utility/webthread_impl_for_utility_thread.h" 19 #include "platform/scheduler/utility/webthread_impl_for_utility_thread.h"
19 #include "public/platform/WebTraceLocation.h" 20 #include "public/platform/WebTraceLocation.h"
20 #include "public/platform/scheduler/child/single_thread_idle_task_runner.h" 21 #include "public/platform/scheduler/child/single_thread_idle_task_runner.h"
21 22
22 namespace blink { 23 namespace blink {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 base::Thread::Options options) { 138 base::Thread::Options options) {
138 return base::MakeUnique<WebThreadForCompositor>(options); 139 return base::MakeUnique<WebThreadForCompositor>(options);
139 } 140 }
140 141
141 std::unique_ptr<WebThreadBase> WebThreadBase::InitializeUtilityThread() { 142 std::unique_ptr<WebThreadBase> WebThreadBase::InitializeUtilityThread() {
142 return base::MakeUnique<WebThreadImplForUtilityThread>(); 143 return base::MakeUnique<WebThreadImplForUtilityThread>();
143 } 144 }
144 145
145 } // namespace scheduler 146 } // namespace scheduler
146 } // namespace blink 147 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698