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 COMPONENTS_MUS_GPU_MUS_GPU_MEMORY_BUFFER_MANAGER_H_ | 5 #ifndef SERVICES_UI_GPU_MUS_GPU_MEMORY_BUFFER_MANAGER_H_ |
6 #define COMPONENTS_MUS_GPU_MUS_GPU_MEMORY_BUFFER_MANAGER_H_ | 6 #define SERVICES_UI_GPU_MUS_GPU_MEMORY_BUFFER_MANAGER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 12 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
13 | 13 |
14 namespace mus { | 14 namespace mus { |
15 | 15 |
16 class GpuServiceMus; | 16 class GpuServiceMus; |
(...skipping 30 matching lines...) Expand all Loading... |
47 bool is_native, | 47 bool is_native, |
48 const gpu::SyncToken& sync_token); | 48 const gpu::SyncToken& sync_token); |
49 | 49 |
50 GpuServiceMus* gpu_service_; | 50 GpuServiceMus* gpu_service_; |
51 const int client_id_; | 51 const int client_id_; |
52 base::WeakPtrFactory<MusGpuMemoryBufferManager> weak_factory_; | 52 base::WeakPtrFactory<MusGpuMemoryBufferManager> weak_factory_; |
53 }; | 53 }; |
54 | 54 |
55 } // namespace mus | 55 } // namespace mus |
56 | 56 |
57 #endif // COMPONENTS_MUS_GPU_MUS_GPU_MEMORY_BUFFER_MANAGER_H_ | 57 #endif // SERVICES_UI_GPU_MUS_GPU_MEMORY_BUFFER_MANAGER_H_ |
OLD | NEW |