#include <memory>
#include <string>
#include <tuple>
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/gmock_callback_support.h"
#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "device/bluetooth/public/cpp/bluetooth_uuid.h"
#include "device/bluetooth/test/mock_bluetooth_adapter.h"
#include "device/bluetooth/test/mock_bluetooth_device.h"
#include "device/bluetooth/test/mock_bluetooth_socket.h"
#include "extensions/browser/api/bluetooth_socket/bluetooth_socket_api.h"
#include "extensions/common/extension_builder.h"
#include "extensions/shell/test/shell_apitest.h"
#include "extensions/test/extension_test_message_listener.h"
#include "extensions/test/result_catcher.h"
#include "testing/gmock/include/gmock/gmock.h"
BluetoothAdapter;
BluetoothAdapterFactory;
BluetoothDevice;
BluetoothSocket;
BluetoothUUID;
MockBluetoothAdapter;
MockBluetoothDevice;
MockBluetoothSocket;
Extension;
ResultCatcher;
api;
namespace {
class BluetoothSocketApiTest : public extensions::ShellApiTest { … };
}
IN_PROC_BROWSER_TEST_F(BluetoothSocketApiTest, DISABLED_Connect) { … }
IN_PROC_BROWSER_TEST_F(BluetoothSocketApiTest, Listen) { … }
IN_PROC_BROWSER_TEST_F(BluetoothSocketApiTest, PermissionDenied) { … }