OLD | NEW |
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 "ui/ozone/public/ozone_gpu_test_helper.h" | 5 #include "ui/ozone/public/ozone_gpu_test_helper.h" |
6 | 6 |
| 7 #include "base/threading/thread.h" |
7 #include "base/threading/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
8 #include "ipc/ipc_listener.h" | 9 #include "ipc/ipc_listener.h" |
9 #include "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
10 #include "ipc/ipc_sender.h" | 11 #include "ipc/ipc_sender.h" |
11 #include "ipc/message_filter.h" | 12 #include "ipc/message_filter.h" |
12 #include "ui/ozone/public/gpu_platform_support_host.h" | 13 #include "ui/ozone/public/gpu_platform_support_host.h" |
13 #include "ui/ozone/public/ozone_platform.h" | 14 #include "ui/ozone/public/ozone_platform.h" |
14 | 15 |
15 namespace ui { | 16 namespace ui { |
16 | 17 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 base::Unretained(fake_gpu_process_.get()))); | 134 base::Unretained(fake_gpu_process_.get()))); |
134 | 135 |
135 fake_gpu_process_host_.reset(new FakeGpuProcessHost( | 136 fake_gpu_process_host_.reset(new FakeGpuProcessHost( |
136 gpu_task_runner, io_helper_thread_->task_runner())); | 137 gpu_task_runner, io_helper_thread_->task_runner())); |
137 fake_gpu_process_host_->Init(); | 138 fake_gpu_process_host_->Init(); |
138 | 139 |
139 return true; | 140 return true; |
140 } | 141 } |
141 | 142 |
142 } // namespace ui | 143 } // namespace ui |
OLD | NEW |