chromium/device/bluetooth/test/fake_bluetooth_socket.cc

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

#include "device/bluetooth/test/fake_bluetooth_socket.h"

namespace device {

FakeBluetoothSocket::FakeBluetoothSocket() = default;
FakeBluetoothSocket::~FakeBluetoothSocket() = default;

void FakeBluetoothSocket::Disconnect(base::OnceClosure success_callback) {}

void FakeBluetoothSocket::Receive(
    int buffer_size,
    ReceiveCompletionCallback success_callback,
    ReceiveErrorCompletionCallback error_callback) {}

void FakeBluetoothSocket::Send(scoped_refptr<net::IOBuffer> buffer,
                               int buffer_size,
                               SendCompletionCallback success_callback,
                               ErrorCompletionCallback error_callback) {}

void FakeBluetoothSocket::Accept(AcceptCompletionCallback success_callback,
                                 ErrorCompletionCallback error_callback) {}

}  // namespace device