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 #ifndef CONTENT_CHILD_CHILD_GPU_MEMORY_BUFFER_MANAGER_H_ | 5 #ifndef CONTENT_CHILD_CHILD_GPU_MEMORY_BUFFER_MANAGER_H_ |
6 #define CONTENT_CHILD_CHILD_GPU_MEMORY_BUFFER_MANAGER_H_ | 6 #define CONTENT_CHILD_CHILD_GPU_MEMORY_BUFFER_MANAGER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "content/child/thread_safe_sender.h" | 9 #include "content/child/thread_safe_sender.h" |
9 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 10 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 class ChildGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { | 14 class ChildGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { |
14 public: | 15 public: |
15 explicit ChildGpuMemoryBufferManager(ThreadSafeSender* sender); | 16 explicit ChildGpuMemoryBufferManager(ThreadSafeSender* sender); |
16 ~ChildGpuMemoryBufferManager() override; | 17 ~ChildGpuMemoryBufferManager() override; |
17 | 18 |
(...skipping 13 matching lines...) Expand all Loading... |
31 | 32 |
32 private: | 33 private: |
33 scoped_refptr<ThreadSafeSender> sender_; | 34 scoped_refptr<ThreadSafeSender> sender_; |
34 | 35 |
35 DISALLOW_COPY_AND_ASSIGN(ChildGpuMemoryBufferManager); | 36 DISALLOW_COPY_AND_ASSIGN(ChildGpuMemoryBufferManager); |
36 }; | 37 }; |
37 | 38 |
38 } // namespace content | 39 } // namespace content |
39 | 40 |
40 #endif // CONTENT_CHILD_CHILD_GPU_MEMORY_BUFFER_MANAGER_H_ | 41 #endif // CONTENT_CHILD_CHILD_GPU_MEMORY_BUFFER_MANAGER_H_ |
OLD | NEW |