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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_tcp_server_socket_private.h

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/plugin_ppb_tcp_server_socket_private.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_tcp_server_socket_private.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_tcp_server_socket_private.h
new file mode 100644
index 0000000000000000000000000000000000000000..c3bba0ad0656a7263d66b970f93ca34f79215d21
--- /dev/null
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_tcp_server_socket_private.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_TCP_SERVER_SOCKET_PRIVATE_H_
+#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_TCP_SERVER_SOCKET_PRIVATE_H_
+
+#include "native_client/src/include/nacl_macros.h"
+#include "ppapi/c/private/ppb_tcp_server_socket_private.h"
+
+namespace ppapi_proxy {
+
+// Implements the untrusted side of the PPB_TCPServerSocket_Private interface.
+class PluginTCPServerSocketPrivate {
+ public:
+ static const PPB_TCPServerSocket_Private* GetInterface();
+
+ private:
+ NACL_DISALLOW_COPY_AND_ASSIGN(PluginTCPServerSocketPrivate);
+};
+
+} // namespace ppapi_proxy
+
+#endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_TCP_SERVER_SOCKET_PRIVATE_H_

Powered by Google App Engine
This is Rietveld 408576698