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

Unified Diff: content/browser/renderer_host/pepper_udp_socket.h

Issue 9212047: Add GetBoundAddress to PPB_UDPSocket_Private (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix build error after rebase 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: 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 23aad4a9efd7f7340ad883eeca4a4dac4da434a2..a90e99f8bb77fab77433193709c2e1711c642217 100644
--- a/content/browser/renderer_host/pepper_udp_socket.h
+++ b/content/browser/renderer_host/pepper_udp_socket.h
@@ -38,13 +38,13 @@ class PepperUDPSocket {
void Bind(const PP_NetAddress_Private& addr);
void RecvFrom(int32_t num_bytes);
void SendTo(const std::string& data, const PP_NetAddress_Private& addr);
-
- void SendBindACK(bool result);
+ void SendBindACKError();
private:
void SendRecvFromACKError();
void SendSendToACKError();
+ void OnBindCompleted(int result);
void OnRecvFromCompleted(int result);
void OnSendToCompleted(int result);
@@ -59,6 +59,7 @@ class PepperUDPSocket {
scoped_refptr<net::IOBuffer> sendto_buffer_;
net::IPEndPoint recvfrom_address_;
+ net::IPEndPoint bound_address_;
DISALLOW_COPY_AND_ASSIGN(PepperUDPSocket);
};
« no previous file with comments | « content/browser/renderer_host/pepper_message_filter.cc ('k') | content/browser/renderer_host/pepper_udp_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698