| Index: remoting/protocol/transport.h
|
| diff --git a/remoting/protocol/transport.h b/remoting/protocol/transport.h
|
| index 251724cda28e8a19b3bf4d1189b43e74e6f19f52..fe11c080818e6517a4e8536baa6b92c27396b4a8 100644
|
| --- a/remoting/protocol/transport.h
|
| +++ b/remoting/protocol/transport.h
|
| @@ -81,6 +81,14 @@ class Transport : public base::NonThreadSafe {
|
| virtual void OnTransportRouteChange(Transport* transport,
|
| const TransportRoute& route) = 0;
|
|
|
| + // Called when the transport inactivity state changes. When
|
| + // |ready| is set to false incoming and outgoing data may be
|
| + // delayed until connection goes back to the active state, at
|
| + // which point that method is called again with |ready| set to
|
| + // true. This is useful for UI indication of temporarily broken
|
| + // connections.
|
| + virtual void OnTransportReady(Transport* transport, bool ready) = 0;
|
| +
|
| // Called when the transport is about to be deleted.
|
| virtual void OnTransportDeleted(Transport* transport) = 0;
|
| };
|
|
|