Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1119)

Unified Diff: webkit/plugins/ppapi/ppb_buffer_impl.h

Issue 12702011: Pepper: Unify Buffer and BufferTrusted APIs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove proxy implementation of GetSharedMemory. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/ppb_buffer_trusted_thunk.cc ('k') | webkit/plugins/ppapi/ppb_buffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_buffer_impl.h
diff --git a/webkit/plugins/ppapi/ppb_buffer_impl.h b/webkit/plugins/ppapi/ppb_buffer_impl.h
index 0f73b69c3c6c0005fba3146b9e8b7f3b0d303720..0bddd134240362a50e32de444b8038d97fad4846 100644
--- a/webkit/plugins/ppapi/ppb_buffer_impl.h
+++ b/webkit/plugins/ppapi/ppb_buffer_impl.h
@@ -10,7 +10,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/shared_memory.h"
#include "ppapi/thunk/ppb_buffer_api.h"
-#include "ppapi/thunk/ppb_buffer_trusted_api.h"
#include "ppapi/shared_impl/resource.h"
#include "webkit/plugins/webkit_plugins_export.h"
@@ -19,8 +18,7 @@ namespace ppapi {
class WEBKIT_PLUGINS_EXPORT PPB_Buffer_Impl :
public ::ppapi::Resource,
- public ::ppapi::thunk::PPB_Buffer_API,
- public ::ppapi::thunk::PPB_BufferTrusted_API {
+ public ::ppapi::thunk::PPB_Buffer_API {
public:
virtual ~PPB_Buffer_Impl();
@@ -35,7 +33,6 @@ class WEBKIT_PLUGINS_EXPORT PPB_Buffer_Impl :
// Resource overrides.
virtual ::ppapi::thunk::PPB_Buffer_API* AsPPB_Buffer_API() OVERRIDE;
- virtual ::ppapi::thunk::PPB_BufferTrusted_API* AsPPB_BufferTrusted_API();
// PPB_Buffer_API implementation.
virtual PP_Bool Describe(uint32_t* size_in_bytes) OVERRIDE;
@@ -43,7 +40,7 @@ class WEBKIT_PLUGINS_EXPORT PPB_Buffer_Impl :
virtual void* Map() OVERRIDE;
virtual void Unmap() OVERRIDE;
- // PPB_BufferTrusted_API implementation.
+ // Trusted.
virtual int32_t GetSharedMemory(int* handle) OVERRIDE;
private:
« no previous file with comments | « ppapi/thunk/ppb_buffer_trusted_thunk.cc ('k') | webkit/plugins/ppapi/ppb_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698