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

Unified Diff: net/quic/quic_chromium_client_session.h

Issue 1775283002: [Domain Reliabiliy: net stack] Plumb received go away from server due to connection migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: net/quic/quic_chromium_client_session.h
diff --git a/net/quic/quic_chromium_client_session.h b/net/quic/quic_chromium_client_session.h
index c4ef29387fc18b2283d36946893e09ed2e3dda49..72283e3d4de3d881bb8d1afd7223e043affb4915 100644
--- a/net/quic/quic_chromium_client_session.h
+++ b/net/quic/quic_chromium_client_session.h
@@ -294,7 +294,9 @@ class NET_EXPORT_PRIVATE QuicChromiumClientSession
// Notifies the factory that this session is going away and no more streams
// should be created from it. This needs to be called before closing any
// streams, because closing a stream may cause a new stream to be created.
- void NotifyFactoryOfSessionGoingAway();
+ // If |is_connection_migrated| is true, also notifies the factory that this
+ // client receives a GoAway from server due to connection migration.
+ void NotifyFactoryOfSessionGoingAway(bool is_connection_migrated);
// Posts a task to notify the factory that this session has been closed.
void NotifyFactoryOfSessionClosedLater();

Powered by Google App Engine
This is Rietveld 408576698