OLD | NEW |
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 #include "cc/trees/proxy_main.h" | 5 #include "cc/trees/proxy_main.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/memory/ptr_util.h" |
10 #include "base/trace_event/trace_event.h" | 11 #include "base/trace_event/trace_event.h" |
11 #include "base/trace_event/trace_event_argument.h" | 12 #include "base/trace_event/trace_event_argument.h" |
12 #include "base/trace_event/trace_event_synthetic_delay.h" | 13 #include "base/trace_event/trace_event_synthetic_delay.h" |
13 #include "cc/base/completion_event.h" | 14 #include "cc/base/completion_event.h" |
14 #include "cc/debug/benchmark_instrumentation.h" | 15 #include "cc/debug/benchmark_instrumentation.h" |
15 #include "cc/debug/devtools_instrumentation.h" | 16 #include "cc/debug/devtools_instrumentation.h" |
16 #include "cc/output/compositor_frame_sink.h" | 17 #include "cc/output/compositor_frame_sink.h" |
17 #include "cc/output/swap_promise.h" | 18 #include "cc/output/swap_promise.h" |
18 #include "cc/resources/ui_resource_manager.h" | 19 #include "cc/resources/ui_resource_manager.h" |
19 #include "cc/trees/blocking_task_runner.h" | 20 #include "cc/trees/blocking_task_runner.h" |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 483 |
483 bool ProxyMain::IsImplThread() const { | 484 bool ProxyMain::IsImplThread() const { |
484 return task_runner_provider_->IsImplThread(); | 485 return task_runner_provider_->IsImplThread(); |
485 } | 486 } |
486 | 487 |
487 base::SingleThreadTaskRunner* ProxyMain::ImplThreadTaskRunner() { | 488 base::SingleThreadTaskRunner* ProxyMain::ImplThreadTaskRunner() { |
488 return task_runner_provider_->ImplThreadTaskRunner(); | 489 return task_runner_provider_->ImplThreadTaskRunner(); |
489 } | 490 } |
490 | 491 |
491 } // namespace cc | 492 } // namespace cc |
OLD | NEW |