Index: net/quic/quic_packet_writer.h |
diff --git a/net/quic/quic_packet_writer.h b/net/quic/quic_packet_writer.h |
index 16b7adeadc6019a856434af2544bb0a2de30a020..00c7e4d589f4742f2983787610593ee7b99fa554 100644 |
--- a/net/quic/quic_packet_writer.h |
+++ b/net/quic/quic_packet_writer.h |
@@ -24,9 +24,11 @@ class NET_EXPORT_PRIVATE QuicPacketWriter { |
// failed, the result's status is WRITE_STATUS_BLOCKED or WRITE_STATUS_ERROR |
// and error_code is populated. |
virtual WriteResult WritePacket( |
- const char* buffer, size_t buf_len, |
+ const char* buffer, |
+ size_t buf_len, |
const IPAddressNumber& self_address, |
- const IPEndPoint& peer_address) = 0; |
+ const IPEndPoint& peer_address, |
+ base::Callback<void(WriteResult wr)> callback) = 0; |
Ryan Hamilton
2014/06/18 23:59:51
This is chrome specific, and probably shouldn't go
dmz
2014/06/19 17:46:24
Done.
|
// Returns true if the writer buffers and subsequently rewrites data |
// when an attempt to write results in the underlying socket becoming |