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

Unified Diff: net/quic/quic_connection.h

Issue 483093004: Rename QuicConnection::OnPacketSent to OnWriteError, to reflect it's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Refactor_async_write_behavior_73648585
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 567ba90fca5e0a1cad216b34f93e82b72f5e8488..8e223fd66ba4b534d57b5798421b95d8dc9b2685 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -317,8 +317,9 @@ class NET_EXPORT_PRIVATE QuicConnection
// writes to happen.
virtual void OnCanWrite() OVERRIDE;
- // Called when a packet has been finally sent to the network.
- bool OnPacketSent(WriteResult result);
+ // Called when an error occurs while attempting to write a packet to the
+ // network.
+ void OnWriteError(int error_code);
// If the socket is not blocked, writes queued packets.
void WriteIfNotBlocked();
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698