Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: cc/test/test_gpu_memory_buffer_manager.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_ 5 #ifndef CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_
6 #define CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_ 6 #define CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" 11 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h"
10 12
11 namespace cc { 13 namespace cc {
12 14
13 class TestGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager { 15 class TestGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
14 public: 16 public:
15 TestGpuMemoryBufferManager(); 17 TestGpuMemoryBufferManager();
16 ~TestGpuMemoryBufferManager() override; 18 ~TestGpuMemoryBufferManager() override;
17 19
(...skipping 16 matching lines...) Expand all
34 void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer, 36 void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer,
35 const gpu::SyncToken& sync_token) override; 37 const gpu::SyncToken& sync_token) override;
36 38
37 private: 39 private:
38 DISALLOW_COPY_AND_ASSIGN(TestGpuMemoryBufferManager); 40 DISALLOW_COPY_AND_ASSIGN(TestGpuMemoryBufferManager);
39 }; 41 };
40 42
41 } // namespace cc 43 } // namespace cc
42 44
43 #endif // CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_ 45 #endif // CC_TEST_TEST_GPU_MEMORY_BUFFER_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/surfaces/surface_display_output_surface_unittest.cc ('k') | cc/test/test_in_process_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698