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

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: Add testing for multiple sizes of array. Created 9 years 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..d48979ca426f91ec879c5787f38b3cb2f0cf6824 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,12 +25,17 @@ 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);
// Printing and debugging.
static void Print(const PP_Var& var);
+*/
static std::string DebugString(const PP_Var& var);
private:

Powered by Google App Engine
This is Rietveld 408576698