| 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 UI_GL_GL_IMAGE_REF_COUNTED_MEMORY_H_ | 5 #ifndef UI_GL_GL_IMAGE_REF_COUNTED_MEMORY_H_ |
| 6 #define UI_GL_GL_IMAGE_REF_COUNTED_MEMORY_H_ | 6 #define UI_GL_GL_IMAGE_REF_COUNTED_MEMORY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 9 #include "ui/gl/gl_image_memory.h" | 12 #include "ui/gl/gl_image_memory.h" |
| 10 | 13 |
| 11 namespace base { | 14 namespace base { |
| 12 class RefCountedMemory; | 15 class RefCountedMemory; |
| 13 } | 16 } |
| 14 | 17 |
| 15 namespace gl { | 18 namespace gl { |
| 16 | 19 |
| 17 class GL_EXPORT GLImageRefCountedMemory : public gl::GLImageMemory { | 20 class GL_EXPORT GLImageRefCountedMemory : public gl::GLImageMemory { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 | 35 |
| 33 private: | 36 private: |
| 34 scoped_refptr<base::RefCountedMemory> ref_counted_memory_; | 37 scoped_refptr<base::RefCountedMemory> ref_counted_memory_; |
| 35 | 38 |
| 36 DISALLOW_COPY_AND_ASSIGN(GLImageRefCountedMemory); | 39 DISALLOW_COPY_AND_ASSIGN(GLImageRefCountedMemory); |
| 37 }; | 40 }; |
| 38 | 41 |
| 39 } // namespace gl | 42 } // namespace gl |
| 40 | 43 |
| 41 #endif // UI_GL_GL_IMAGE_REF_COUNTED_MEMORY_H_ | 44 #endif // UI_GL_GL_IMAGE_REF_COUNTED_MEMORY_H_ |
| OLD | NEW |