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

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/child/scheduler_tqm_delegate_impl.h

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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELEGAT E_IMPL_H_ 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELEGAT E_IMPL_H_
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELEGAT E_IMPL_H_ 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELEGAT E_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/single_thread_task_runner.h"
13 #include "base/time/tick_clock.h" 14 #include "base/time/tick_clock.h"
14 #include "platform/scheduler/child/scheduler_tqm_delegate.h" 15 #include "platform/scheduler/child/scheduler_tqm_delegate.h"
15 16
16 namespace blink { 17 namespace blink {
17 namespace scheduler { 18 namespace scheduler {
18 19
19 class PLATFORM_EXPORT SchedulerTqmDelegateImpl : public SchedulerTqmDelegate { 20 class PLATFORM_EXPORT SchedulerTqmDelegateImpl : public SchedulerTqmDelegate {
20 public: 21 public:
21 // |message_loop| is not owned and must outlive the lifetime of this object. 22 // |message_loop| is not owned and must outlive the lifetime of this object.
22 static scoped_refptr<SchedulerTqmDelegateImpl> Create( 23 static scoped_refptr<SchedulerTqmDelegateImpl> Create(
(...skipping 28 matching lines...) Expand all
51 scoped_refptr<SingleThreadTaskRunner> message_loop_task_runner_; 52 scoped_refptr<SingleThreadTaskRunner> message_loop_task_runner_;
52 std::unique_ptr<base::TickClock> time_source_; 53 std::unique_ptr<base::TickClock> time_source_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(SchedulerTqmDelegateImpl); 55 DISALLOW_COPY_AND_ASSIGN(SchedulerTqmDelegateImpl);
55 }; 56 };
56 57
57 } // namespace scheduler 58 } // namespace scheduler
58 } // namespace blink 59 } // namespace blink
59 60
60 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELE GATE_IMPL_H_ 61 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_CHILD_SCHEDULER_TQM_DELE GATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698