chromium/third_party/ipcz/src/test/test_transport_listener.cc

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

#include "test/test_transport_listener.h"

#include <utility>

#include "ipcz/driver_object.h"
#include "ipcz/driver_transport.h"
#include "ipcz/message.h"
#include "ipcz/node.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/abseil-cpp/absl/base/macros.h"
#include "third_party/abseil-cpp/absl/synchronization/notification.h"
#include "util/ref_counted.h"

namespace ipcz::test {

class TestTransportListener::ListenerImpl : public DriverTransport::Listener {};

TestTransportListener::TestTransportListener(IpczHandle node,
                                             IpczDriverHandle handle)
    :{}

TestTransportListener::TestTransportListener(Ref<DriverTransport> transport)
    :{}

TestTransportListener::~TestTransportListener() {}

void TestTransportListener::StopListening() {}

void TestTransportListener::OnRawMessage(GenericMessageHandler handler) {}

void TestTransportListener::OnStringMessage(
    std::function<void(std::string_view)> handler) {}

void TestTransportListener::OnError(ErrorHandler handler) {}

void TestTransportListener::ActivateTransportIfNecessary() {}

}  // namespace ipcz::test