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

Unified Diff: remoting/protocol/jingle_messages.cc

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
Index: remoting/protocol/jingle_messages.cc
diff --git a/remoting/protocol/jingle_messages.cc b/remoting/protocol/jingle_messages.cc
index 1eaf69e8dba205a1aa64e2a9dd9b4fba9b0a8353..6c6664158a1ed58e56a8796ccc9c18acc7be9d56 100644
--- a/remoting/protocol/jingle_messages.cc
+++ b/remoting/protocol/jingle_messages.cc
@@ -65,6 +65,7 @@ static const NameMapElement<JingleMessage::ActionType> kActionTypes[] = {
static const NameMapElement<JingleMessage::Reason> kReasons[] = {
{ JingleMessage::SUCCESS, "success" },
{ JingleMessage::DECLINE, "decline" },
+ { JingleMessage::GENERAL_ERROR, "general-error" },
{ JingleMessage::INCOMPATIBLE_PARAMETERS, "incompatible-parameters" },
};

Powered by Google App Engine
This is Rietveld 408576698