chromium/remoting/signaling/iq_sender.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/signaling/iq_sender.h"

#include <memory>
#include <utility>

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
#include "remoting/signaling/signal_strategy.h"
#include "remoting/signaling/signaling_id_util.h"
#include "remoting/signaling/xmpp_constants.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"

namespace remoting {

// static
std::unique_ptr<jingle_xmpp::XmlElement> IqSender::MakeIqStanza(
    const std::string& type,
    const std::string& addressee,
    std::unique_ptr<jingle_xmpp::XmlElement> iq_body) {}

IqSender::IqSender(SignalStrategy* signal_strategy)
    :{}

IqSender::~IqSender() {}

std::unique_ptr<IqRequest> IqSender::SendIq(
    std::unique_ptr<jingle_xmpp::XmlElement> stanza,
    ReplyCallback callback) {}

std::unique_ptr<IqRequest> IqSender::SendIq(
    const std::string& type,
    const std::string& addressee,
    std::unique_ptr<jingle_xmpp::XmlElement> iq_body,
    ReplyCallback callback) {}

void IqSender::RemoveRequest(IqRequest* request) {}

void IqSender::OnSignalStrategyStateChange(SignalStrategy::State state) {}

bool IqSender::OnSignalStrategyIncomingStanza(
    const jingle_xmpp::XmlElement* stanza) {}

IqRequest::IqRequest(IqSender* sender,
                     IqSender::ReplyCallback callback,
                     const std::string& addressee)
    :{}

IqRequest::~IqRequest() {}

void IqRequest::SetTimeout(base::TimeDelta timeout) {}

void IqRequest::CallCallback(const jingle_xmpp::XmlElement* stanza) {}

void IqRequest::OnTimeout() {}

void IqRequest::OnResponse(const jingle_xmpp::XmlElement* stanza) {}

void IqRequest::DeliverResponse(
    std::unique_ptr<jingle_xmpp::XmlElement> stanza) {}

}  // namespace remoting