| Index: ppapi/proxy/ppb_buffer_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_buffer_proxy.cc b/ppapi/proxy/ppb_buffer_proxy.cc
|
| index 2e2ee907a1c47e5aae06bdd5f00f50208abdbb6b..e8b685a9401cc72a863170605734d87cac38d3a2 100644
|
| --- a/ppapi/proxy/ppb_buffer_proxy.cc
|
| +++ b/ppapi/proxy/ppb_buffer_proxy.cc
|
| @@ -17,7 +17,6 @@
|
| #include "ppapi/proxy/plugin_resource.h"
|
| #include "ppapi/proxy/ppapi_messages.h"
|
| #include "ppapi/thunk/enter.h"
|
| -#include "ppapi/thunk/ppb_buffer_api.h"
|
| #include "ppapi/thunk/ppb_buffer_trusted_api.h"
|
| #include "ppapi/thunk/thunk.h"
|
|
|
| @@ -33,35 +32,6 @@ InterfaceProxy* CreateBufferProxy(Dispatcher* dispatcher,
|
|
|
| } // namespace
|
|
|
| -class Buffer : public ppapi::thunk::PPB_Buffer_API,
|
| - public PluginResource {
|
| - public:
|
| - Buffer(const HostResource& resource,
|
| - const base::SharedMemoryHandle& shm_handle,
|
| - uint32_t size);
|
| - virtual ~Buffer();
|
| -
|
| - // Resource overrides.
|
| - virtual Buffer* AsBuffer() OVERRIDE;
|
| -
|
| - // ResourceObjectBase overrides.
|
| - virtual ppapi::thunk::PPB_Buffer_API* AsPPB_Buffer_API() OVERRIDE;
|
| -
|
| - // PPB_Buffer_API implementation.
|
| - virtual PP_Bool Describe(uint32_t* size_in_bytes) OVERRIDE;
|
| - virtual PP_Bool IsMapped() OVERRIDE;
|
| - virtual void* Map() OVERRIDE;
|
| - virtual void Unmap() OVERRIDE;
|
| -
|
| - private:
|
| - base::SharedMemory shm_;
|
| - uint32_t size_;
|
| - void* mapped_data_;
|
| - int map_count_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(Buffer);
|
| -};
|
| -
|
| Buffer::Buffer(const HostResource& resource,
|
| const base::SharedMemoryHandle& shm_handle,
|
| uint32_t size)
|
|
|