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

Unified Diff: content/browser/renderer_host/p2p/socket_host_udp.h

Issue 13584008: Send notification about outgoing p2p packets from browser to renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/p2p/socket_host_udp.h
diff --git a/content/browser/renderer_host/p2p/socket_host_udp.h b/content/browser/renderer_host/p2p/socket_host_udp.h
index 710f743f257497a73589a545232da31c9c887e00..425b9dd8c1eba22b62eb4a129343065eefc8a8ab 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp.h
+++ b/content/browser/renderer_host/p2p/socket_host_udp.h
@@ -48,9 +48,11 @@ class CONTENT_EXPORT P2PSocketHostUdp : public P2PSocketHost {
};
void OnError();
+
void DoRead();
void DoSend(const PendingPacket& packet);
void DidCompleteRead(int result);
+ void DidCompleteSend(int result);
// Callbacks for RecvFrom() and SendTo().
void OnRecv(int result);
@@ -61,7 +63,6 @@ class CONTENT_EXPORT P2PSocketHostUdp : public P2PSocketHost {
net::IPEndPoint recv_address_;
std::deque<PendingPacket> send_queue_;
- int send_queue_bytes_;
bool send_pending_;
// Set of peer for which we have received STUN binding request or

Powered by Google App Engine
This is Rietveld 408576698