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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_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/browser_globals.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
index b8548daba39796e0afa716ac2ef3e35524edb8b7..001158ecc751191067bc6492d642fb2f24a84fdf 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
@@ -416,6 +416,13 @@ const PPB_View* PPBViewInterface() {
return ppb;
}
+const PPB_WebSocket_Dev* PPBWebSocketInterface() {
+ static const PPB_WebSocket_Dev* ppb =
+ static_cast<const PPB_WebSocket_Dev*>(
+ GetBrowserInterfaceSafe(PPB_WEBSOCKET_DEV_INTERFACE));
+ return ppb;
+}
+
const PPB_Widget_Dev* PPBWidgetInterface() {
static const PPB_Widget_Dev* ppb =
static_cast<const PPB_Widget_Dev*>(

Powered by Google App Engine
This is Rietveld 408576698