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

Unified Diff: net/quic/quic_packet_reader.cc

Issue 1543903002: Adds socket param to OnReadError in QuicPacketReader's Visitor interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Created 5 years 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: net/quic/quic_packet_reader.cc
diff --git a/net/quic/quic_packet_reader.cc b/net/quic/quic_packet_reader.cc
index 7fc57b09f926d0f56de61743e8781e45d9c53ca0..c3e37edafdd4d5b45b05ff1ecddcc3e090707fcb 100644
--- a/net/quic/quic_packet_reader.cc
+++ b/net/quic/quic_packet_reader.cc
@@ -72,7 +72,7 @@ void QuicPacketReader::OnReadComplete(int result) {
result = ERR_CONNECTION_CLOSED;
if (result < 0) {
- visitor_->OnReadError(result);
+ visitor_->OnReadError(result, socket_);
return;
}

Powered by Google App Engine
This is Rietveld 408576698