summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/jingle_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/jingle_session.h')
-rw-r--r--remoting/protocol/jingle_session.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/remoting/protocol/jingle_session.h b/remoting/protocol/jingle_session.h
index 9e595afe..28b4db9 100644
--- a/remoting/protocol/jingle_session.h
+++ b/remoting/protocol/jingle_session.h
@@ -44,7 +44,7 @@ class JingleSession : public base::NonThreadSafe,
const SessionConfig& config() override;
TransportSession* GetTransportSession() override;
StreamChannelFactory* GetQuicChannelFactory() override;
- void Close() override;
+ void Close(protocol::ErrorCode error) override;
private:
friend class JingleSessionManager;
@@ -113,11 +113,6 @@ class JingleSession : public base::NonThreadSafe,
// Called when authentication is finished.
void OnAuthenticated();
- // Terminates the session and sends session-terminate if it is
- // necessary. |error| specifies the error code in case when the
- // session is being closed due to an error.
- void CloseInternal(ErrorCode error);
-
// Sets |state_| to |new_state| and calls state change callback.
void SetState(State new_state);