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

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

Issue 9227008: WebSocket Pepper API: SRPC proxy implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase because two ppapi_proxy related CLs are landed Created 8 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: 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 5416468dd5b0d936f72207f69ac31c745e5ae24d..1aef64200f1aa2bd6efb21b0db39b78e8334986d 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc
@@ -90,6 +90,11 @@ const PPB_VarArrayBuffer_Dev* PPBVarArrayBufferInterface() {
GetBrowserInterfaceSafe(PPB_VAR_ARRAY_BUFFER_DEV_INTERFACE));
}
+const PPB_WebSocket_Dev* PPBWebSocketInterface() {
+ return static_cast<const PPB_WebSocket_Dev*>(
+ GetBrowserInterfaceSafe(PPB_WEBSOCKET_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