Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: device/bluetooth/dbus/fake_bluetooth_adapter_client.cc

Issue 2098653002: device/bluetooth/bluez: add discoverable timeout adapter property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing nits Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/dbus/fake_bluetooth_adapter_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/dbus/fake_bluetooth_adapter_client.cc
diff --git a/device/bluetooth/dbus/fake_bluetooth_adapter_client.cc b/device/bluetooth/dbus/fake_bluetooth_adapter_client.cc
index 15d00555ac94b8ed3448491e7df694fd5a40cbfc..cc8ce7d382534f45974783c2d44f1c00e09a7829 100644
--- a/device/bluetooth/dbus/fake_bluetooth_adapter_client.cc
+++ b/device/bluetooth/dbus/fake_bluetooth_adapter_client.cc
@@ -313,6 +313,10 @@ void FakeBluetoothAdapterClient::SetSecondUUIDs(
second_properties_->uuids.ReplaceValue(uuids);
}
+void FakeBluetoothAdapterClient::SetDiscoverableTimeout(uint32_t timeout) {
+ properties_->discoverable_timeout.ReplaceValue(timeout);
+}
+
void FakeBluetoothAdapterClient::OnPropertyChanged(
const std::string& property_name) {
if (property_name == properties_->powered.name() &&
« no previous file with comments | « device/bluetooth/dbus/fake_bluetooth_adapter_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698