Index: content/browser/renderer_host/pepper_udp_socket.h |
diff --git a/content/browser/renderer_host/pepper_udp_socket.h b/content/browser/renderer_host/pepper_udp_socket.h |
index ff3e6e819878e714eb24eb0507e775b7fae6a412..8918bee38505cd7cc24ca88cd176fddd702f36e8 100644 |
--- a/content/browser/renderer_host/pepper_udp_socket.h |
+++ b/content/browser/renderer_host/pepper_udp_socket.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. |
@@ -38,10 +38,11 @@ class PepperUDPSocket { |
void SendTo(const std::string& data, const PP_NetAddress_Private& addr); |
private: |
- void SendBindACK(bool result); |
+ void SendBindACKError(); |
void SendRecvFromACKError(); |
void SendSendToACKError(); |
+ void OnBindCompleted(int result); |
void OnRecvFromCompleted(int result); |
void OnSendToCompleted(int result); |
@@ -56,6 +57,7 @@ class PepperUDPSocket { |
scoped_refptr<net::IOBuffer> sendto_buffer_; |
net::IPEndPoint recvfrom_address_; |
+ net::IPEndPoint bound_address_; |
DISALLOW_COPY_AND_ASSIGN(PepperUDPSocket); |
}; |