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

Unified Diff: net/quic/quic_chromium_client_session.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
« no previous file with comments | « net/quic/quic_chromium_client_session.h ('k') | net/quic/quic_packet_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_chromium_client_session.cc
diff --git a/net/quic/quic_chromium_client_session.cc b/net/quic/quic_chromium_client_session.cc
index 18aabbc317c4ff1afbd7758ebf083f368027136f..5c9a75115dd11216140b40c9e9ff234c693e1963 100644
--- a/net/quic/quic_chromium_client_session.cc
+++ b/net/quic/quic_chromium_client_session.cc
@@ -912,7 +912,9 @@ QuicChromiumClientSession::GetWeakPtr() {
return weak_factory_.GetWeakPtr();
}
-void QuicChromiumClientSession::OnReadError(int result) {
+void QuicChromiumClientSession::OnReadError(
+ int result,
+ const DatagramClientSocket* socket) {
Ryan Hamilton 2015/12/22 22:03:45 Typically, we would do /*socket*/ here to indicate
DVLOG(1) << "Closing session on read error: " << result;
UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicSession.ReadError", -result);
NotifyFactoryOfSessionGoingAway();
« no previous file with comments | « net/quic/quic_chromium_client_session.h ('k') | net/quic/quic_packet_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698