chromium/remoting/protocol/fake_session.cc

// Copyright 2012 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/protocol/fake_session.h"

#include <memory>

#include "base/check.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "remoting/protocol/authenticator.h"
#include "remoting/protocol/fake_authenticator.h"
#include "remoting/protocol/session_plugin.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"

namespace remoting::protocol {

const char kTestJid[] =;
const char kTestAuthKey[] =;

FakeSession::FakeSession()
    :{}
FakeSession::~FakeSession() = default;

void FakeSession::SimulateConnection(FakeSession* peer) {}

void FakeSession::SetEventHandler(EventHandler* event_handler) {}

ErrorCode FakeSession::error() const {}

const std::string& FakeSession::jid() {}

const SessionConfig& FakeSession::config() {}

const Authenticator& FakeSession::authenticator() const {}

void FakeSession::SetTransport(Transport* transport) {}

void FakeSession::Close(ErrorCode error) {}

void FakeSession::SendTransportInfo(
    std::unique_ptr<jingle_xmpp::XmlElement> transport_info) {}

void FakeSession::ProcessTransportInfo(
    std::unique_ptr<jingle_xmpp::XmlElement> transport_info) {}

void FakeSession::AddPlugin(SessionPlugin* plugin) {}

void FakeSession::SetAttachment(
    size_t round,
    std::unique_ptr<jingle_xmpp::XmlElement> attachment) {}

}  // namespace remoting::protocol