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

Unified Diff: remoting/protocol/jingle_messages.h

Issue 1099203005: Revert of Use standard ICE in Chromoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/protocol/fake_session.cc ('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 c83776ad4f3060215ce74efdfbd02dbafecafe45..e12c854489ee6755f3117192da02a3cfb717a3fb 100644
--- a/remoting/protocol/jingle_messages.h
+++ b/remoting/protocol/jingle_messages.h
@@ -12,10 +12,15 @@
#include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
#include "third_party/webrtc/p2p/base/candidate.h"
+
namespace remoting {
namespace protocol {
class ContentDescription;
+
+extern const char kJabberNamespace[];
+extern const char kJingleNamespace[];
+extern const char kP2PTransportNamespace[];
struct JingleMessage {
enum ActionType {
@@ -37,23 +42,12 @@
};
struct NamedCandidate {
- NamedCandidate() = default;
+ NamedCandidate();
NamedCandidate(const std::string& name,
const cricket::Candidate& candidate);
std::string name;
cricket::Candidate candidate;
- };
-
- struct IceCredentials {
- IceCredentials() = default;
- IceCredentials(std::string channel,
- std::string ufrag,
- std::string password);
-
- std::string channel;
- std::string ufrag;
- std::string password;
};
JingleMessage();
@@ -74,15 +68,12 @@
std::string from;
std::string to;
- ActionType action = UNKNOWN_ACTION;
+ ActionType action;
std::string sid;
std::string initiator;
scoped_ptr<ContentDescription> description;
-
- bool standard_ice = true;
- std::list<IceCredentials> ice_credentials;
std::list<NamedCandidate> candidates;
// Content of session-info messages.
@@ -91,7 +82,7 @@
// 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.
- Reason reason = UNKNOWN_REASON;
+ Reason reason;
};
struct JingleMessageReply {
« no previous file with comments | « remoting/protocol/fake_session.cc ('k') | remoting/protocol/jingle_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698