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

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

Issue 2390063002: Roll cros_system_api and use constants pulled in. (Closed)
Patch Set: Created 4 years, 2 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
Index: device/bluetooth/dbus/bluetooth_le_advertising_manager_client.cc
diff --git a/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.cc b/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.cc
index ef4fa8d93033032d176f948fedaec370b05101da..fcb39553a52b8d4f767d0010b0528230d1d2f63d 100644
--- a/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.cc
+++ b/device/bluetooth/dbus/bluetooth_le_advertising_manager_client.cc
@@ -114,11 +114,9 @@ class BluetoothAdvertisementManagerClientImpl
uint16_t max_interval_ms,
const base::Closure& callback,
const ErrorCallback& error_callback) override {
- // TODO(rkc): Replace the string "SetAdvertisingInterval" with the correct
- // constant in service_constants.h once cros_system_api DEPS are rolled.
dbus::MethodCall method_call(
bluetooth_advertising_manager::kBluetoothAdvertisingManagerInterface,
- "SetAdvertisingIntervals");
+ bluetooth_advertising_manager::kSetAdvertisingIntervals);
dbus::MessageWriter writer(&method_call);
writer.AppendUint16(min_interval_ms);
« no previous file with comments | « device/bluetooth/bluetooth_adapter.h ('k') | device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698