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

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

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_globals.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc
index cc4ce3c2460fc8352f4af2676eeeea44198baa2d..c9346be28a0b85633e807ce4eb526b7e374eb2a6 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc
@@ -85,6 +85,11 @@ const PPB_Var* PPBVarInterface() {
GetBrowserInterfaceSafe(PPB_VAR_INTERFACE));
}
+const PPB_VarArrayBuffer_Dev* PPBVarArrayBufferInterface() {
+ return static_cast<const PPB_VarArrayBuffer_Dev*>(
+ GetBrowserInterfaceSafe(PPB_VAR_ARRAY_BUFFER_DEV_INTERFACE));
+}
+
// Plugin interface helpers
const void* GetPluginInterface(const char* interface_name) {
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698