#include "extensions/browser/api/bluetooth/bluetooth_event_router.h"
#include <memory>
#include <string>
#include <utility>
#include "base/functional/callback_helpers.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "content/public/test/test_browser_context.h"
#include "device/bluetooth/bluetooth_common.h"
#include "device/bluetooth/public/cpp/bluetooth_uuid.h"
#include "device/bluetooth/test/mock_bluetooth_adapter.h"
#include "extensions/browser/event_router.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extensions_test.h"
#include "extensions/browser/unloaded_extension_reason.h"
#include "extensions/common/api/bluetooth.h"
#include "extensions/common/extension_builder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
const char kTestExtensionId[] = …;
const device::BluetoothUUID kAudioProfileUuid("1234");
const device::BluetoothUUID kHealthProfileUuid("4321");
MATCHER_P(IsFilterEqual, a, "") { … }
}
namespace extensions {
bluetooth;
class BluetoothEventRouterTest : public ExtensionsTest { … };
TEST_F(BluetoothEventRouterTest, BluetoothEventListener) { … }
TEST_F(BluetoothEventRouterTest, MultipleBluetoothEventListeners) { … }
TEST_F(BluetoothEventRouterTest, UnloadExtension) { … }
TEST_F(BluetoothEventRouterTest, SetDiscoveryFilter) { … }
}