summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_udp_socket_private_proxy.h
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-21 23:37:12 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-21 23:37:12 +0000
commit669b2839b2a307ab08bcbc217efdb8a9f146c7c1 (patch)
tree601f882f71731c441eecb5f8b97f6bd0b6e8e78b /ppapi/proxy/ppb_udp_socket_private_proxy.h
parent6681478ec237fa2b66b122a98f8630cefab22abc (diff)
downloadchromium_src-669b2839b2a307ab08bcbc217efdb8a9f146c7c1.zip
chromium_src-669b2839b2a307ab08bcbc217efdb8a9f146c7c1.tar.gz
chromium_src-669b2839b2a307ab08bcbc217efdb8a9f146c7c1.tar.bz2
GetBoundAddress will return the address that Bind actually bound to. If there has not been a successful call to Bind, this method will return an error.
BUG=no bug TEST=udp tests Review URL: https://chromiumcodereview.appspot.com/9212047 Patch from Mike Tilburg <mtilburg@adobe.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_udp_socket_private_proxy.h')
-rw-r--r--ppapi/proxy/ppb_udp_socket_private_proxy.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/proxy/ppb_udp_socket_private_proxy.h b/ppapi/proxy/ppb_udp_socket_private_proxy.h
index c6c9e68..4677b4e 100644
--- a/ppapi/proxy/ppb_udp_socket_private_proxy.h
+++ b/ppapi/proxy/ppb_udp_socket_private_proxy.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -32,7 +32,8 @@ class PPB_UDPSocket_Private_Proxy : public InterfaceProxy {
// Browser->plugin message handlers.
void OnMsgBindACK(uint32 plugin_dispatcher_id,
uint32 socket_id,
- bool succeeded);
+ bool succeeded,
+ const PP_NetAddress_Private& bound_addr);
void OnMsgRecvFromACK(uint32 plugin_dispatcher_id,
uint32 socket_id,
bool succeeded,