// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_ADAPTER_FACTORY_WRAPPER_H_ #define CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_ADAPTER_FACTORY_WRAPPER_H_ #include <unordered_set> #include "base/memory/raw_ptr.h" #include "base/threading/thread_checker.h" #include "content/common/content_export.h" #include "device/bluetooth/bluetooth_adapter.h" namespace content { class WebBluetoothServiceImpl; // Wrapper around BluetoothAdapterFactory that allows us to change // the underlying BluetoothAdapter object and have the observers // observe the new instance of the object. // TODO(ortuno): Once there is no need to swap the adapter to change its // behavior observers should add/remove themselves to/from the adapter. // http://crbug.com/603291 class CONTENT_EXPORT BluetoothAdapterFactoryWrapper { … }; } // namespace content #endif // CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_ADAPTER_FACTORY_WRAPPER_H_