Chromium Code Reviews| Index: content/browser/bluetooth/bluetooth_dispatcher_host.h |
| diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.h b/content/browser/bluetooth/bluetooth_dispatcher_host.h |
| index 1cc27c594d54ad99757e47edf0da1aec828c0965..86aca14341d1273fa2e4d0367c29a8753850306d 100644 |
| --- a/content/browser/bluetooth/bluetooth_dispatcher_host.h |
| +++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h |
| @@ -23,7 +23,7 @@ namespace content { |
| // UI Thread Note: |
| // BluetoothDispatcherHost is constructed, operates, and destroyed on the UI |
| // thread because BluetoothAdapter and related objects live there. |
| -class BluetoothDispatcherHost final |
| +class CONTENT_EXPORT BluetoothDispatcherHost final |
| : public BrowserMessageFilter, |
| public device::BluetoothAdapter::Observer { |
| public: |
| @@ -34,6 +34,8 @@ class BluetoothDispatcherHost final |
| BrowserThread::ID* thread) override; |
| bool OnMessageReceived(const IPC::Message& message) override; |
| + void SetBluetoothAdapterForTesting(const std::string& name); |
|
scheib
2015/05/16 01:00:35
Make this match the signature you'll use in https:
scheib
2015/05/18 16:43:30
Sorry, my miss-reading here. Fine to have this sig
|
| + |
| protected: |
| ~BluetoothDispatcherHost() override; |
| @@ -49,7 +51,6 @@ class BluetoothDispatcherHost final |
| void OnRequestDevice(int thread_id, int request_id); |
| void OnConnectGATT(int thread_id, int request_id, |
| const std::string& device_instance_id); |
| - void OnSetBluetoothMockDataSetForTesting(const std::string& name); |
| // Callbacks for BluetoothAdapter::StartDiscoverySession. |
| void OnDiscoverySessionStarted( |