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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h

Issue 9022021: Proxy PPB_ArrayBuffer_Dev, make them work over Messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment. Created 8 years, 12 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
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h
index 3f6094607d80d1c85cedcb181bb97cee9d1ffca7..1083e792577cce3b1abc101174dc1a1ee4e31b55 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h
@@ -9,6 +9,7 @@
#include "native_client/src/include/nacl_macros.h"
#include "native_client/src/include/portability.h"
+#include "ppapi/c/dev/ppb_var_array_buffer_dev.h"
#include "ppapi/c/pp_var.h"
#include "ppapi/c/ppb_var.h"
@@ -24,6 +25,9 @@ class PluginVar {
// Returns the 1.0 interface to support backwards-compatibility.
static const PPB_Var_1_0* GetInterface1_0();
+ // Returns an interface pointer for the PPB_VarArrayBuffer_Dev interface.
+ static const PPB_VarArrayBuffer_Dev* GetArrayBufferInterface();
+
// String helpers.
static PP_Var StringToPPVar(const std::string& str);
static std::string PPVarToString(const PP_Var& var);
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698