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

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

Issue 8502030: Draft of a PPAPI interface for ArrayBuffer and typed arrays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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
« no previous file with comments | « ppapi/cpp/var.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/shared/ppapi_proxy/object_serialize.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/object_serialize.cc b/ppapi/native_client/src/shared/ppapi_proxy/object_serialize.cc
index 7fa0e02d88ec5676f7db14d507fa5e0941d8b928..16323afc20912f757aba1067422ff8456bf67dd5 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/object_serialize.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/object_serialize.cc
@@ -131,6 +131,7 @@ uint32_t PpVarSize(const PP_Var& var) {
case PP_VARTYPE_OBJECT:
case PP_VARTYPE_ARRAY:
case PP_VARTYPE_DICTIONARY:
+ case PP_VARTYPE_ARRAY_BUFFER:
NACL_NOTREACHED();
break;
}
@@ -215,6 +216,7 @@ bool SerializePpVar(const PP_Var* vars,
case PP_VARTYPE_OBJECT:
case PP_VARTYPE_ARRAY:
case PP_VARTYPE_DICTIONARY:
+ case PP_VARTYPE_ARRAY_BUFFER:
NACL_NOTREACHED();
default:
return false;
@@ -306,6 +308,7 @@ uint32_t DeserializePpVarSize(char* p,
case PP_VARTYPE_OBJECT:
case PP_VARTYPE_ARRAY:
case PP_VARTYPE_DICTIONARY:
+ case PP_VARTYPE_ARRAY_BUFFER:
NACL_NOTREACHED();
break;
}
@@ -377,6 +380,7 @@ bool DeserializePpVar(NaClSrpcChannel* channel,
case PP_VARTYPE_OBJECT:
case PP_VARTYPE_ARRAY:
case PP_VARTYPE_DICTIONARY:
+ case PP_VARTYPE_ARRAY_BUFFER:
NACL_NOTREACHED();
default:
return false;
« no previous file with comments | « ppapi/cpp/var.h ('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