Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: remoting/protocol/pepper_session.h

Issue 8046018: Parse termination reason and propagate the error to the Session interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/jingle_session_manager.cc ('k') | remoting/protocol/pepper_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/pepper_session.h
diff --git a/remoting/protocol/pepper_session.h b/remoting/protocol/pepper_session.h
index 93bb6ef5771ff1429b3fa1e08db96e8a3c3b7638..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;
« no previous file with comments | « remoting/protocol/jingle_session_manager.cc ('k') | remoting/protocol/pepper_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698