OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "services/ui/gpu/gpu_main.h" | 5 #include "services/ui/gpu/gpu_main.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/memory/ptr_util.h" |
8 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
9 #include "gpu/ipc/common/gpu_memory_buffer_support.h" | 10 #include "gpu/ipc/common/gpu_memory_buffer_support.h" |
10 #include "gpu/ipc/gpu_in_process_thread_service.h" | 11 #include "gpu/ipc/gpu_in_process_thread_service.h" |
11 #include "gpu/ipc/service/gpu_memory_buffer_factory.h" | 12 #include "gpu/ipc/service/gpu_memory_buffer_factory.h" |
12 #include "gpu/ipc/service/gpu_watchdog_thread.h" | 13 #include "gpu/ipc/service/gpu_watchdog_thread.h" |
13 #include "services/ui/common/server_gpu_memory_buffer_manager.h" | 14 #include "services/ui/common/server_gpu_memory_buffer_manager.h" |
14 #include "services/ui/gpu/gpu_service.h" | 15 #include "services/ui/gpu/gpu_service.h" |
15 | 16 |
16 namespace { | 17 namespace { |
17 | 18 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 // TODO(sad): https://crbug.com/645602 | 232 // TODO(sad): https://crbug.com/645602 |
232 } | 233 } |
233 | 234 |
234 bool GpuMain::EnsureSandboxInitialized( | 235 bool GpuMain::EnsureSandboxInitialized( |
235 gpu::GpuWatchdogThread* watchdog_thread) { | 236 gpu::GpuWatchdogThread* watchdog_thread) { |
236 // TODO(sad): https://crbug.com/645602 | 237 // TODO(sad): https://crbug.com/645602 |
237 return true; | 238 return true; |
238 } | 239 } |
239 | 240 |
240 } // namespace ui | 241 } // namespace ui |
OLD | NEW |