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

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

Issue 9365016: Exposed Listen and Accept methods to Native Client. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync, deleted comments from SRPC file. Created 8 years, 10 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 9eb4215bd8086853948e93ea297c881104e1bb14..1cef40ef8b16d5a07ec4ae0a92da2a22e6c2b420 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
@@ -445,6 +445,13 @@ const PPB_PDF* PPBPDFInterface() {
return ppb;
}
+const PPB_TCPServerSocket_Private* PPBTCPServerSocketPrivateInterface() {
+ static const PPB_TCPServerSocket_Private* ppb =
+ static_cast<const PPB_TCPServerSocket_Private*>(
+ GetBrowserInterfaceSafe(PPB_TCPSERVERSOCKET_PRIVATE_INTERFACE));
+ return ppb;
+}
+
const PPB_TCPSocket_Private* PPBTCPSocketPrivateInterface() {
static const PPB_TCPSocket_Private* ppb =
static_cast<const PPB_TCPSocket_Private*>(

Powered by Google App Engine
This is Rietveld 408576698