#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) { … }
}