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

Unified Diff: native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h

Issue 137853023: [NaCl SDK] nacl_io: Add new fakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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: native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h
diff --git a/native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h b/native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h
index 6c6ec23503099b1418a0554f684fbc2a804bc1b8..4bbd40a1cf172dfb48c3e14e3717427f8c5d1050 100644
--- a/native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h
+++ b/native_client_sdk/src/libraries/nacl_io/pepper/all_interfaces.h
@@ -84,6 +84,23 @@ BEGIN_INTERFACE(MessagingInterface, PPB_Messaging_1_0,
METHOD2(MessagingInterface, void, PostMessage, PP_Instance, PP_Var)
END_INTERFACE(MessagingInterface, PPB_Messaging_1_0)
+BEGIN_INTERFACE(VarArrayInterface, PPB_VarArray_1_0,
+ PPB_VAR_ARRAY_INTERFACE_1_0)
+ METHOD0(VarArrayInterface, PP_Var, Create)
+ METHOD2(VarArrayInterface, PP_Var, Get, PP_Var, uint32_t)
+ METHOD3(VarArrayInterface, PP_Bool, Set, PP_Var, uint32_t, PP_Var)
+ METHOD1(VarArrayInterface, uint32_t, GetLength, PP_Var)
+ METHOD2(VarArrayInterface, PP_Bool, SetLength, PP_Var, uint32_t)
+END_INTERFACE(VarArrayInterface, PPB_VarArray_1_0)
+
+BEGIN_INTERFACE(VarArrayBufferInterface, PPB_VarArrayBuffer_1_0,
+ PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0)
+ METHOD1(VarArrayBufferInterface, PP_Var, Create, uint32_t)
+ METHOD2(VarArrayBufferInterface, PP_Bool, ByteLength, PP_Var, uint32_t*)
+ METHOD1(VarArrayBufferInterface, void*, Map, PP_Var)
+ METHOD1(VarArrayBufferInterface, void, Unmap, PP_Var)
+END_INTERFACE(VarArrayBufferInterface, PPB_VarArrayBuffer_1_0)
+
BEGIN_INTERFACE(VarInterface, PPB_Var_1_1, PPB_VAR_INTERFACE_1_1)
METHOD1(VarInterface, void, AddRef, PP_Var)
METHOD1(VarInterface, void, Release, PP_Var)

Powered by Google App Engine
This is Rietveld 408576698