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

Unified Diff: remoting/protocol/jingle_messages.h

Issue 10209008: Roll libjingle 132:133 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/jingle_glue/xmpp_socket_adapter.h ('k') | remoting/protocol/jingle_messages.cc » ('j') | no next file with comments »
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 f404912e3b5b940863b974792b16db59c3184c33..43dca4ad8a6d105b64dbad57466000e93a6c03bc 100644
--- a/remoting/protocol/jingle_messages.h
+++ b/remoting/protocol/jingle_messages.h
@@ -9,11 +9,9 @@
#include <string>
#include "base/memory/scoped_ptr.h"
+#include "third_party/libjingle/source/talk/p2p/base/candidate.h"
#include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
-namespace cricket {
-class Candidate;
-} // namespace cricket
namespace remoting {
namespace protocol {
@@ -43,6 +41,15 @@ struct JingleMessage {
INCOMPATIBLE_PARAMETERS,
};
+ struct NamedCandidate {
+ NamedCandidate();
+ NamedCandidate(const std::string& name,
+ const cricket::Candidate& candidate);
+
+ std::string name;
+ cricket::Candidate candidate;
+ };
+
JingleMessage();
JingleMessage(const std::string& to_value,
ActionType action_value,
@@ -65,7 +72,7 @@ struct JingleMessage {
std::string sid;
scoped_ptr<ContentDescription> description;
- std::list<cricket::Candidate> candidates;
+ std::list<NamedCandidate> candidates;
// Content of session-info messages.
scoped_ptr<buzz::XmlElement> info;
« no previous file with comments | « remoting/jingle_glue/xmpp_socket_adapter.h ('k') | remoting/protocol/jingle_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698