| Index: remoting/protocol/connection_to_host.h
|
| diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
|
| index 4eb7d15251bd1fb7eec757f06130597658f94cf2..d064b64bf5a47171fc67c6cf7a6ee7e0eadc3b6f 100644
|
| --- a/remoting/protocol/connection_to_host.h
|
| +++ b/remoting/protocol/connection_to_host.h
|
| @@ -64,6 +64,9 @@ class ConnectionToHost : public SignalStrategy::Listener,
|
|
|
| // Called when state of the connection changes.
|
| virtual void OnConnectionState(State state, ErrorCode error) = 0;
|
| +
|
| + // Called to indicate inactive connection.
|
| + virtual void OnConnectionInactive(bool inactive) = 0;
|
| };
|
|
|
| ConnectionToHost(bool allow_nat_traversal);
|
| @@ -104,6 +107,8 @@ class ConnectionToHost : public SignalStrategy::Listener,
|
| virtual void OnSessionStateChange(Session::State state) OVERRIDE;
|
| virtual void OnSessionRouteChange(const std::string& channel_name,
|
| const TransportRoute& route) OVERRIDE;
|
| + virtual void OnSessionInactive(const std::string& channel_name,
|
| + bool inactive) OVERRIDE;
|
|
|
| // Return the current state of ConnectionToHost.
|
| State state() const;
|
|
|