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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_messaging.cc

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_messaging.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_messaging.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_messaging.cc
index ab586fc263710d2223d6b7c61e84cd5cc01b321a..2ff9b21f4e0b2d5e20b2b31c5a0ca52ea3557dcd 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_messaging.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_messaging.cc
@@ -27,6 +27,8 @@ void PostMessage(PP_Instance instance, struct PP_Var message) {
uint32_t message_length = kMaxVarSize;
nacl::scoped_array<char> message_bytes(Serialize(&message, 1,
&message_length));
+ DebugPrintf("PPB_Messaging::PostMessage: bytes:%"NACL_PRIu32"\n",
+ message_length);
NaClSrpcError srpc_result =
PpbMessagingRpcClient::PPB_Messaging_PostMessage(
GetMainSrpcChannel(),

Powered by Google App Engine
This is Rietveld 408576698