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); |