Index: device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.cc |
diff --git a/device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.cc b/device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.cc |
index 6236ca78f0bac0ec3e93f013b209387a286b2f2a..5586a6c2d15b1301758fe3c7dd7a234d555c88f9 100644 |
--- a/device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.cc |
+++ b/device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.cc |
@@ -108,6 +108,15 @@ void FakeBluetoothLEAdvertisingManagerClient::SetAdvertisingInterval( |
callback.Run(); |
} |
+void FakeBluetoothLEAdvertisingManagerClient::ResetAdvertising( |
+ const dbus::ObjectPath& object_path, |
+ const base::Closure& callback, |
+ const ErrorCallback& error_callback) { |
+ currently_registered_.clear(); |
+ service_provider_map_.clear(); |
+ callback.Run(); |
+} |
+ |
void FakeBluetoothLEAdvertisingManagerClient:: |
RegisterAdvertisementServiceProvider( |
FakeBluetoothLEAdvertisementServiceProvider* service_provider) { |