| Index: gpu/command_buffer/client/gles2_implementation.h | 
| diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h | 
| index c2bf49f41fc2a4dfdffceca6e5a82d8fbf0112d2..6e892d558c51d9e6e4e0acfaa602e1754db4bfc7 100644 | 
| --- a/gpu/command_buffer/client/gles2_implementation.h | 
| +++ b/gpu/command_buffer/client/gles2_implementation.h | 
| @@ -21,6 +21,7 @@ | 
| #include "gpu/command_buffer/client/gles2_interface.h" | 
| #include "gpu/command_buffer/client/gpu_memory_buffer_tracker.h" | 
| #include "gpu/command_buffer/client/image_factory.h" | 
| +#include "gpu/command_buffer/client/mapped_memory.h" | 
| #include "gpu/command_buffer/client/query_tracker.h" | 
| #include "gpu/command_buffer/client/ref_counted.h" | 
| #include "gpu/command_buffer/client/ring_buffer.h" | 
| @@ -98,7 +99,6 @@ struct GLUniformDefinitionCHROMIUM; | 
|  | 
| namespace gpu { | 
|  | 
| -class MappedMemoryManager; | 
| class ScopedTransferBufferPtr; | 
| class TransferBufferInterface; | 
|  | 
| @@ -115,6 +115,9 @@ class VertexArrayObjectManager; | 
| // shared memory and synchronization issues. | 
| class GLES2_IMPL_EXPORT GLES2Implementation : public GLES2Interface { | 
| public: | 
| +  enum MappedMemoryLimit { | 
| +    kNoLimit = MappedMemoryManager::kNoLimit, | 
| +  }; | 
| class ErrorMessageCallback { | 
| public: | 
| virtual ~ErrorMessageCallback() { } | 
| @@ -186,6 +189,12 @@ class GLES2_IMPL_EXPORT GLES2Implementation : public GLES2Interface { | 
| unsigned int min_transfer_buffer_size, | 
| unsigned int max_transfer_buffer_size); | 
|  | 
| +  bool InitializeWithMemoryLimit( | 
| +      unsigned int starting_transfer_buffer_size, | 
| +      unsigned int min_transfer_buffer_size, | 
| +      unsigned int max_transfer_buffer_size, | 
| +      unsigned int mapped_memory_limit); | 
| + | 
| // The GLES2CmdHelper being used by this GLES2Implementation. You can use | 
| // this to issue cmds at a lower level for certain kinds of optimization. | 
| GLES2CmdHelper* helper() const; | 
| @@ -215,7 +224,6 @@ class GLES2_IMPL_EXPORT GLES2Implementation : public GLES2Interface { | 
| GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 
| GLint* size, GLenum* type, char* name); | 
|  | 
| -  void SetSharedMemoryChunkSizeMultiple(unsigned int multiple); | 
|  | 
| void FreeUnusedSharedMemory(); | 
| void FreeEverything(); | 
|  |