summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/bluetooth/bluetooth_adapter.h2
-rw-r--r--device/bluetooth/bluetooth_adapter_chromeos.h2
-rw-r--r--device/bluetooth/test/mock_bluetooth_adapter.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index f7b760b..77c64ee 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -197,7 +197,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
// BluetoothAdapter. After this call, the BluetoothAdapter will behave as if
// no Bluetooth controller exists in the local system. |IsPresent| will return
// false.
- void Shutdown();
+ virtual void Shutdown();
#endif
// Adds and removes observers for events on this bluetooth adapter. If
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h
index af466f2..5ee633f 100644
--- a/device/bluetooth/bluetooth_adapter_chromeos.h
+++ b/device/bluetooth/bluetooth_adapter_chromeos.h
@@ -47,7 +47,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS
static base::WeakPtr<BluetoothAdapter> CreateAdapter();
// BluetoothAdapter:
- void Shutdown();
+ void Shutdown() override;
void DeleteOnCorrectThread() const override;
void AddObserver(device::BluetoothAdapter::Observer* observer) override;
void RemoveObserver(device::BluetoothAdapter::Observer* observer) override;
diff --git a/device/bluetooth/test/mock_bluetooth_adapter.h b/device/bluetooth/test/mock_bluetooth_adapter.h
index af4f053..fd67936 100644
--- a/device/bluetooth/test/mock_bluetooth_adapter.h
+++ b/device/bluetooth/test/mock_bluetooth_adapter.h
@@ -35,7 +35,7 @@ class MockBluetoothAdapter : public BluetoothAdapter {
virtual bool IsInitialized() const { return true; }
#if defined(OS_CHROMEOS)
- void Shutdown();
+ void Shutdown() override;
#endif
MOCK_METHOD1(AddObserver, void(BluetoothAdapter::Observer*));
MOCK_METHOD1(RemoveObserver, void(BluetoothAdapter::Observer*));