| 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 #ifndef SERVICES_UI_GPU_GPU_SERVICE_H_ | 5 #ifndef SERVICES_UI_GPU_GPU_SERVICE_H_ |
| 6 #define SERVICES_UI_GPU_GPU_SERVICE_H_ | 6 #define SERVICES_UI_GPU_GPU_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/single_thread_task_runner.h" |
| 9 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
| 10 #include "base/task/cancelable_task_tracker.h" | 11 #include "base/task/cancelable_task_tracker.h" |
| 11 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
| 12 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
| 13 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 14 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 15 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
| 15 #include "gpu/command_buffer/common/activity_flags.h" | 16 #include "gpu/command_buffer/common/activity_flags.h" |
| 16 #include "gpu/command_buffer/service/gpu_preferences.h" | 17 #include "gpu/command_buffer/service/gpu_preferences.h" |
| 17 #include "gpu/config/gpu_info.h" | 18 #include "gpu/config/gpu_info.h" |
| 18 #include "gpu/ipc/common/surface_handle.h" | 19 #include "gpu/ipc/common/surface_handle.h" |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 202 |
| 202 base::WeakPtr<GpuService> weak_ptr_; | 203 base::WeakPtr<GpuService> weak_ptr_; |
| 203 base::WeakPtrFactory<GpuService> weak_ptr_factory_; | 204 base::WeakPtrFactory<GpuService> weak_ptr_factory_; |
| 204 | 205 |
| 205 DISALLOW_COPY_AND_ASSIGN(GpuService); | 206 DISALLOW_COPY_AND_ASSIGN(GpuService); |
| 206 }; | 207 }; |
| 207 | 208 |
| 208 } // namespace ui | 209 } // namespace ui |
| 209 | 210 |
| 210 #endif // SERVICES_UI_GPU_GPU_SERVICE_H_ | 211 #endif // SERVICES_UI_GPU_GPU_SERVICE_H_ |
| OLD | NEW |