OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 GPU_COMMAND_BUFFER_CLIENT_IMAGE_FACTORY_MOCK_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_IMAGE_FACTORY_MOCK_H_ |
6 #define GPU_COMMAND_BUFFER_CLIENT_IMAGE_FACTORY_MOCK_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_IMAGE_FACTORY_MOCK_H_ |
7 | 7 |
8 #include "../client/gpu_memory_buffer.h" | |
9 #include "../client/image_factory.h" | |
10 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "gpu/command_buffer/client/gpu_memory_buffer.h" |
| 10 #include "gpu/command_buffer/client/image_factory.h" |
11 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
12 | 12 |
13 namespace gpu { | 13 namespace gpu { |
14 namespace gles2 { | 14 namespace gles2 { |
15 class ImageManager; | 15 class ImageManager; |
16 | 16 |
17 // Mock implementation of ImageFactory | 17 // Mock implementation of ImageFactory |
18 class ImageFactoryMock : public ImageFactory { | 18 class ImageFactoryMock : public ImageFactory { |
19 public: | 19 public: |
20 ImageFactoryMock(ImageManager* image_manager); | 20 ImageFactoryMock(ImageManager* image_manager); |
(...skipping 11 matching lines...) Expand all Loading... |
32 } | 32 } |
33 | 33 |
34 private: | 34 private: |
35 DISALLOW_COPY_AND_ASSIGN(ImageFactoryMock); | 35 DISALLOW_COPY_AND_ASSIGN(ImageFactoryMock); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace gles2 | 38 } // namespace gles2 |
39 } // namespace gpu | 39 } // namespace gpu |
40 | 40 |
41 #endif // GPU_COMMAND_BUFFER_CLIENT_IMAGE_FACTORY_MOCK_H_ | 41 #endif // GPU_COMMAND_BUFFER_CLIENT_IMAGE_FACTORY_MOCK_H_ |
OLD | NEW |