| Index: net/quic/chromium/mock_network_change_notifier.h
|
| diff --git a/net/quic/chromium/mock_network_change_notifier.h b/net/quic/chromium/mock_network_change_notifier.h
|
| index e5316f8944fffeb26750578d7567130759d478f1..de9ef7a51db7f462a5d240edb55893b1cd6c1791 100644
|
| --- a/net/quic/chromium/mock_network_change_notifier.h
|
| +++ b/net/quic/chromium/mock_network_change_notifier.h
|
| @@ -25,10 +25,20 @@ class MockNetworkChangeNotifier : public NetworkChangeNotifier {
|
|
|
| void GetCurrentConnectedNetworks(NetworkList* network_list) const override;
|
|
|
| + // Delivers a MADE_DEFAULT notification to observers.
|
| void NotifyNetworkMadeDefault(NetworkChangeNotifier::NetworkHandle network);
|
|
|
| + // Queues a MADE_DEFAULT notification to be delivered to observers
|
| + // but does not spin the message loop to actually deliver it.
|
| + void QueueNetworkMadeDefault(NetworkChangeNotifier::NetworkHandle network);
|
| +
|
| + // Delivers a DISCONNECTED notification to observers.
|
| void NotifyNetworkDisconnected(NetworkChangeNotifier::NetworkHandle network);
|
|
|
| + // Queues a DISCONNECTED notification to be delivered to observers
|
| + // but does not spin the message loop to actually deliver it.
|
| + void QueueNetworkDisconnected(NetworkChangeNotifier::NetworkHandle network);
|
| +
|
| private:
|
| bool force_network_handles_supported_;
|
| NetworkChangeNotifier::NetworkList connected_networks_;
|
|
|