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

Unified Diff: remoting/protocol/jingle_session.h

Issue 8537020: Send correct termination reason when session is terminated by the host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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_messages.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session.h
diff --git a/remoting/protocol/jingle_session.h b/remoting/protocol/jingle_session.h
index 4bff0014a5c7b3c6800ab8cbdf0d20e0deca5389..787cc6240725d3e1c29d6a9792e93cb800a2c562 100644
--- a/remoting/protocol/jingle_session.h
+++ b/remoting/protocol/jingle_session.h
@@ -81,8 +81,10 @@ class JingleSession : public protocol::Session,
const std::string& local_certificate() const;
void Init(cricket::Session* cricket_session);
- // Close all the channels and terminate the session.
- void CloseInternal(int result, bool failed);
+ // Close all the channels and terminate the session. |result|
+ // defines error code that should returned to currently opened
+ // channels. |error| specified new value for error().
+ void CloseInternal(int result, Error error);
bool HasSession(cricket::Session* cricket_session);
cricket::Session* ReleaseSession();
« no previous file with comments | « remoting/protocol/jingle_messages.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698