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

Unified Diff: remoting/protocol/jingle_messages.h

Issue 2567953002: [Chromoting] Plugin message in JingleMessage (Closed)
Patch Set: Created 4 years 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 | « no previous file | remoting/protocol/jingle_messages.cc » ('j') | remoting/protocol/jingle_messages_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_messages.h
diff --git a/remoting/protocol/jingle_messages.h b/remoting/protocol/jingle_messages.h
index 08e538a8a6a576653a2e0e4cd08fbfb300519f0c..4853226620699041ae46caecea6e2d90d4a23045 100644
--- a/remoting/protocol/jingle_messages.h
+++ b/remoting/protocol/jingle_messages.h
@@ -101,6 +101,10 @@ struct JingleMessage {
// Content of session-info messages.
std::unique_ptr<buzz::XmlElement> info;
+ // Content of plugin message. The node is read or written by all plugins, and
Sergey Ulanov 2016/12/12 23:00:03 There can be more than one plugin, so I think this
Hzj_jie 2016/12/13 00:20:51 Then we will need extra logic to decide which piec
Sergey Ulanov 2016/12/14 01:31:50 I don't think it would increase complexity much. T
Hzj_jie 2016/12/14 20:03:48 Yes, "attachments" is definitely good. Updated.
+ // ActionType independent.
+ std::unique_ptr<buzz::XmlElement> plugin_message;
+
// Value from the <reason> tag if it is present in the
// message. Useful mainly for session-terminate messages, but Jingle
// spec allows it in any message.
« no previous file with comments | « no previous file | remoting/protocol/jingle_messages.cc » ('j') | remoting/protocol/jingle_messages_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698