| 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 #ifndef SERVICES_UI_PUBLIC_CPP_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_GPU_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_GPU_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
| 15 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 15 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
| 16 #include "services/ui/public/interfaces/gpu_service.mojom.h" | 16 #include "services/ui/public/interfaces/gpu_service.mojom.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 base::Thread thread_; | 62 base::Thread thread_; |
| 63 mojom::GpuServicePtr gpu_service_; | 63 mojom::GpuServicePtr gpu_service_; |
| 64 std::unique_ptr<service_manager::Connector> connector_; | 64 std::unique_ptr<service_manager::Connector> connector_; |
| 65 base::WeakPtrFactory<MojoGpuMemoryBufferManager> weak_ptr_factory_; | 65 base::WeakPtrFactory<MojoGpuMemoryBufferManager> weak_ptr_factory_; |
| 66 | 66 |
| 67 DISALLOW_COPY_AND_ASSIGN(MojoGpuMemoryBufferManager); | 67 DISALLOW_COPY_AND_ASSIGN(MojoGpuMemoryBufferManager); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace ui | 70 } // namespace ui |
| 71 | 71 |
| 72 #endif // SERVICES_UI_PUBLIC_CPP_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ | 72 #endif // SERVICES_UI_PUBLIC_CPP_GPU_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_ |
| OLD | NEW |