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

Unified Diff: chromeos/dbus/bluetooth_le_advertising_manager_client.cc

Issue 1223173008: Fix BLE register Dbus interactions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: chromeos/dbus/bluetooth_le_advertising_manager_client.cc
diff --git a/chromeos/dbus/bluetooth_le_advertising_manager_client.cc b/chromeos/dbus/bluetooth_le_advertising_manager_client.cc
index c7981757b7b4b12776c1470a69acfa9e131e9b75..a2eedf9b275b73dba6c333b13edfb0ae377068f2 100644
--- a/chromeos/dbus/bluetooth_le_advertising_manager_client.cc
+++ b/chromeos/dbus/bluetooth_le_advertising_manager_client.cc
@@ -69,11 +69,9 @@ class BluetoothAdvertisementManagerClientImpl
writer.AppendObjectPath(advertisement_object_path);
// Empty dictionary for options.
- dbus::MessageWriter dict_entry_writer(NULL);
- writer.OpenDictEntry(&dict_entry_writer);
- writer.CloseContainer(&dict_entry_writer);
-
- writer.AppendObjectPath(advertisement_object_path);
+ dbus::MessageWriter array_writer(NULL);
+ writer.OpenArray("{sv}", &array_writer);
+ writer.CloseContainer(&array_writer);
DCHECK(object_manager_);
dbus::ObjectProxy* object_proxy =
« no previous file with comments | « chromeos/dbus/bluetooth_le_advertisement_service_provider.cc ('k') | device/bluetooth/bluetooth_advertisement_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698