Index: net/quic/chromium/quic_chromium_client_session.h |
diff --git a/net/quic/chromium/quic_chromium_client_session.h b/net/quic/chromium/quic_chromium_client_session.h |
index 35f0ee888a46772af09bfea390a90b869352c7bf..572ed1b7c83b6c1777238bddf5799942beac6dbe 100644 |
--- a/net/quic/chromium/quic_chromium_client_session.h |
+++ b/net/quic/chromium/quic_chromium_client_session.h |
@@ -273,6 +273,19 @@ class NET_EXPORT_PRIVATE QuicChromiumClientSession |
std::unique_ptr<QuicChromiumPacketReader> reader, |
std::unique_ptr<QuicChromiumPacketWriter> writer); |
+ // Called when NetworkChangeNotifier notifies observers of a newly |
+ // connected network. Migrates this session to the newly connected |
+ // network if the session has a pending migration. |
+ void OnNetworkConnected(NetworkChangeNotifier::NetworkHandle network, |
+ const BoundNetLog& bound_net_log); |
+ |
+ // Schedules a migration alarm to wait for a new network. |
+ void OnNoNewNetwork(); |
+ |
+ // Called when migration alarm fires. If migration has not occurred |
+ // since alarm was set, closes session with error. |
+ void OnMigrationTimeout(size_t num_sockets); |
+ |
// Populates network error details for this session. |
void PopulateNetErrorDetails(NetErrorDetails* details); |