| Index: gpu/command_buffer/client/share_group.h
|
| diff --git a/gpu/command_buffer/client/share_group.h b/gpu/command_buffer/client/share_group.h
|
| index 6762ff6c6266a9fd1a91764e8201567761cfcce3..40cdfbe13c7d71ba0a3cd35919d35e1d4f2cc93a 100644
|
| --- a/gpu/command_buffer/client/share_group.h
|
| +++ b/gpu/command_buffer/client/share_group.h
|
| @@ -15,6 +15,7 @@ namespace gpu {
|
| namespace gles2 {
|
|
|
| class GLES2Implementation;
|
| +class GLES2ImplementationTest;
|
| class ProgramInfoManager;
|
|
|
| typedef void (GLES2Implementation::*DeleteFn)(GLsizei n, const GLuint* ids);
|
| @@ -72,8 +73,12 @@ class GLES2_IMPL_EXPORT ShareGroup
|
|
|
| private:
|
| friend class gpu::RefCountedThreadSafe<ShareGroup>;
|
| + friend class gpu::gles2::GLES2ImplementationTest;
|
| ~ShareGroup();
|
|
|
| + // Install a new program info manager. Used for testing only;
|
| + void set_program_info_manager(ProgramInfoManager* manager);
|
| +
|
| scoped_ptr<IdHandlerInterface> id_handlers_[id_namespaces::kNumIdNamespaces];
|
| scoped_ptr<ProgramInfoManager> program_info_manager_;
|
|
|
|
|