chromium/remoting/signaling/fake_signal_strategy.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/fake_signal_strategy.h"

#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 "remoting/signaling/signaling_id_util.h"
#include "remoting/signaling/xmpp_constants.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"

namespace remoting {

// static
void FakeSignalStrategy::Connect(FakeSignalStrategy* peer1,
                                 FakeSignalStrategy* peer2) {}

FakeSignalStrategy::FakeSignalStrategy(const SignalingAddress& address)
    :{}

FakeSignalStrategy::~FakeSignalStrategy() {}

void FakeSignalStrategy::SetError(Error error) {}

void FakeSignalStrategy::SetIsSignInError(bool is_sign_in_error) {}

void FakeSignalStrategy::SetState(State state) {}

void FakeSignalStrategy::SetPeerCallback(const PeerCallback& peer_callback) {}

void FakeSignalStrategy::ConnectTo(FakeSignalStrategy* peer) {}

void FakeSignalStrategy::SetLocalAddress(const SignalingAddress& address) {}

void FakeSignalStrategy::SimulateMessageReordering() {}

void FakeSignalStrategy::SimulateTwoStageConnect() {}

void FakeSignalStrategy::OnIncomingMessage(
    std::unique_ptr<jingle_xmpp::XmlElement> stanza) {}

void FakeSignalStrategy::ProceedConnect() {}

void FakeSignalStrategy::Connect() {}

void FakeSignalStrategy::Disconnect() {}

SignalStrategy::State FakeSignalStrategy::GetState() const {}

SignalStrategy::Error FakeSignalStrategy::GetError() const {}

const SignalingAddress& FakeSignalStrategy::GetLocalAddress() const {}

void FakeSignalStrategy::AddListener(Listener* listener) {}

void FakeSignalStrategy::RemoveListener(Listener* listener) {}

bool FakeSignalStrategy::SendStanza(
    std::unique_ptr<jingle_xmpp::XmlElement> stanza) {}

bool FakeSignalStrategy::SendMessage(
    const SignalingAddress& destination_address,
    const ftl::ChromotingMessage& message) {}

std::string FakeSignalStrategy::GetNextId() {}

bool FakeSignalStrategy::IsSignInError() const {}

// static
void FakeSignalStrategy::DeliverMessageOnThread(
    scoped_refptr<base::SingleThreadTaskRunner> thread,
    base::WeakPtr<FakeSignalStrategy> target,
    std::unique_ptr<jingle_xmpp::XmlElement> stanza) {}

void FakeSignalStrategy::NotifyListeners(
    std::unique_ptr<jingle_xmpp::XmlElement> stanza) {}

}  // namespace remoting