summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-13 06:48:36 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-13 06:48:36 +0000
commitb1784f4dc9fbf104e4454796edf26d2f76e16a94 (patch)
tree476affcb92e4fa1e2f0772a935bc3f63f8164630 /content/ppapi_plugin
parentb1c988bcd7869765e1bd56e592787af123340516 (diff)
downloadchromium_src-b1784f4dc9fbf104e4454796edf26d2f76e16a94.zip
chromium_src-b1784f4dc9fbf104e4454796edf26d2f76e16a94.tar.gz
chromium_src-b1784f4dc9fbf104e4454796edf26d2f76e16a94.tar.bz2
Introduce PPB_TCPSocket_Dev.
This change exposes the PPB_TCPSocket_Dev interface and makes it to share the same backend as PPB_TCPSocket_Private. It doesn't include: - apps permission check; - TCP socket options that PPB_TCPSocket_Private doesn't support. These will be implemented in separate CLs. BUG=247225 TEST=newly added test_tcp_socket.{h,cc}. Review URL: https://chromiumcodereview.appspot.com/16667002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/ppapi_plugin')
-rw-r--r--content/ppapi_plugin/ppapi_thread.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
index be56a45..a65f905 100644
--- a/content/ppapi_plugin/ppapi_thread.cc
+++ b/content/ppapi_plugin/ppapi_thread.cc
@@ -102,6 +102,8 @@ PpapiThread::PpapiThread(const CommandLine& command_line, bool is_broker)
// note that only those InterfaceProxy-based ones require registration.
AddRoute(ppapi::API_ID_PPB_TCPSERVERSOCKET_PRIVATE,
&dispatcher_message_listener_);
+ AddRoute(ppapi::API_ID_PPB_TCPSOCKET,
+ &dispatcher_message_listener_);
AddRoute(ppapi::API_ID_PPB_TCPSOCKET_PRIVATE,
&dispatcher_message_listener_);
AddRoute(ppapi::API_ID_PPB_UDPSOCKET_PRIVATE,