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

Side by Side Diff: remoting/protocol/jingle_messages.h

Issue 2567953002: [Chromoting] Plugin message in JingleMessage (Closed)
Patch Set: Add OWNERS file to work around IPC security check 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 unified diff | Download patch
« no previous file with comments | « remoting/protocol/OWNERS ('k') | remoting/protocol/jingle_messages.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ 5 #ifndef REMOTING_PROTOCOL_JINGLE_MESSAGES_H_
6 #define REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ 6 #define REMOTING_PROTOCOL_JINGLE_MESSAGES_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 std::string initiator; 95 std::string initiator;
96 96
97 std::unique_ptr<ContentDescription> description; 97 std::unique_ptr<ContentDescription> description;
98 98
99 std::unique_ptr<buzz::XmlElement> transport_info; 99 std::unique_ptr<buzz::XmlElement> transport_info;
100 100
101 // Content of session-info messages. 101 // Content of session-info messages.
102 std::unique_ptr<buzz::XmlElement> info; 102 std::unique_ptr<buzz::XmlElement> info;
103 103
104 // Content of plugin message. The node is read or written by all plugins, and
105 // ActionType independent.
106 std::unique_ptr<buzz::XmlElement> attachments;
107
104 // Value from the <reason> tag if it is present in the 108 // Value from the <reason> tag if it is present in the
105 // message. Useful mainly for session-terminate messages, but Jingle 109 // message. Useful mainly for session-terminate messages, but Jingle
106 // spec allows it in any message. 110 // spec allows it in any message.
107 Reason reason = UNKNOWN_REASON; 111 Reason reason = UNKNOWN_REASON;
108 112
109 // Value from the <google:remoting:error-code> tag if it is present in the 113 // Value from the <google:remoting:error-code> tag if it is present in the
110 // message. Useful mainly for session-terminate messages. If it's UNKNOWN, 114 // message. Useful mainly for session-terminate messages. If it's UNKNOWN,
111 // or reason is UNKNOWN_REASON, this field will be ignored in the xml output. 115 // or reason is UNKNOWN_REASON, this field will be ignored in the xml output.
112 ErrorCode error_code = UNKNOWN_ERROR; 116 ErrorCode error_code = UNKNOWN_ERROR;
113 }; 117 };
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 std::unique_ptr<buzz::XmlElement> ToXml() const; 175 std::unique_ptr<buzz::XmlElement> ToXml() const;
172 176
173 std::list<IceCredentials> ice_credentials; 177 std::list<IceCredentials> ice_credentials;
174 std::list<NamedCandidate> candidates; 178 std::list<NamedCandidate> candidates;
175 }; 179 };
176 180
177 } // protocol 181 } // protocol
178 } // remoting 182 } // remoting
179 183
180 #endif // REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ 184 #endif // REMOTING_PROTOCOL_JINGLE_MESSAGES_H_
OLDNEW
« no previous file with comments | « remoting/protocol/OWNERS ('k') | remoting/protocol/jingle_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698