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

Unified Diff: remoting/protocol/jingle_session.cc

Issue 9860045: Address remaining nits for r129104. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/errors.h ('k') | remoting/protocol/jingle_session_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session.cc
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
index d42d33fd5d1c3bd315d4b97ea7ecad6fdd72564b..548f0c65239cfa465e121d09c6b6efc17bda55f3 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -472,7 +472,7 @@ void JingleSession::OnTerminate(const JingleMessage& message,
error_ = AUTHENTICATION_FAILED;
break;
case JingleMessage::CANCEL:
- error_ = HOST_IS_DISABLED;
+ error_ = HOST_OVERLOAD;
break;
case JingleMessage::GENERAL_ERROR:
error_ = CHANNEL_CONNECTION_ERROR;
@@ -549,7 +549,7 @@ void JingleSession::CloseInternal(ErrorCode error) {
case INCOMPATIBLE_PROTOCOL:
reason = JingleMessage::INCOMPATIBLE_PARAMETERS;
break;
- case HOST_IS_DISABLED:
+ case HOST_OVERLOAD:
reason = JingleMessage::CANCEL;
break;
default:
« no previous file with comments | « remoting/protocol/errors.h ('k') | remoting/protocol/jingle_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698