#include "remoting/signaling/signaling_address.h"
#include <string.h>
#include <ostream>
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "remoting/base/name_value_map.h"
#include "remoting/signaling/signaling_id_util.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
namespace remoting {
namespace {
constexpr char kFtlResourcePrefix[] = …;
jingle_xmpp::QName GetIdQName(SignalingAddress::Direction direction) { … }
SignalingAddress::Channel GetChannelType(std::string address) { … }
}
SignalingAddress::SignalingAddress() = default;
SignalingAddress::SignalingAddress(const std::string& address) { … }
bool SignalingAddress::operator==(const SignalingAddress& other) const { … }
bool SignalingAddress::operator!=(const SignalingAddress& other) const { … }
SignalingAddress SignalingAddress::CreateFtlSignalingAddress(
const std::string& username,
const std::string& registration_id) { … }
SignalingAddress SignalingAddress::Parse(const jingle_xmpp::XmlElement* iq,
SignalingAddress::Direction direction,
std::string* error) { … }
void SignalingAddress::SetInMessage(jingle_xmpp::XmlElement* iq,
Direction direction) const { … }
bool SignalingAddress::GetFtlInfo(std::string* username,
std::string* registration_id) const { … }
}