| Index: remoting/protocol/pepper_session.h
|
| diff --git a/remoting/protocol/pepper_session.h b/remoting/protocol/pepper_session.h
|
| index 99b9f6a0dcd8216b7078c6df9845922048cae7f0..ab0a26d94458eb5282e7568344491eca50b3bfb2 100644
|
| --- a/remoting/protocol/pepper_session.h
|
| +++ b/remoting/protocol/pepper_session.h
|
| @@ -43,22 +43,11 @@ class SocketWrapper;
|
| // outgoing connections.
|
| class PepperSession : public Session {
|
| public:
|
| - // TODO(sergeyu): Move this type and error() method to the Session
|
| - // interface.
|
| - enum Error {
|
| - ERROR_NO_ERROR = 0,
|
| - ERROR_PEER_IS_OFFLINE,
|
| - ERROR_SESSION_REJECTED,
|
| - ERROR_INCOMPATIBLE_PROTOCOL,
|
| - ERROR_CHANNEL_CONNECTION_FAILURE,
|
| - };
|
| -
|
| virtual ~PepperSession();
|
|
|
| - Error error();
|
| -
|
| // Session interface.
|
| virtual void SetStateChangeCallback(StateChangeCallback* callback) OVERRIDE;
|
| + virtual Error error() OVERRIDE;
|
| virtual void CreateStreamChannel(
|
| const std::string& name,
|
| const StreamChannelCallback& callback) OVERRIDE;
|
| @@ -107,7 +96,6 @@ class PepperSession : public Session {
|
|
|
| // Message handlers for incoming messages.
|
| void OnAccept(const JingleMessage& message, JingleMessageReply* reply);
|
| - void OnReject(const JingleMessage& message, JingleMessageReply* reply);
|
| void OnTerminate(const JingleMessage& message, JingleMessageReply* reply);
|
| void ProcessTransportInfo(const JingleMessage& message);
|
|
|
|
|