| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "device/bluetooth/bluetooth_remote_gatt_service_bluez.h" | 5 #include "device/bluetooth/bluetooth_remote_gatt_service_bluez.h" |
| 6 | 6 |
| 7 #include <iostream> | |
| 8 #include <iterator> | 7 #include <iterator> |
| 9 | 8 |
| 10 #include "base/callback.h" | 9 #include "base/callback.h" |
| 11 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 12 #include "base/logging.h" | 11 #include "base/logging.h" |
| 13 #include "dbus/property.h" | 12 #include "dbus/property.h" |
| 14 #include "device/bluetooth/bluetooth_adapter_bluez.h" | 13 #include "device/bluetooth/bluetooth_adapter_bluez.h" |
| 15 #include "device/bluetooth/bluetooth_device_bluez.h" | 14 #include "device/bluetooth/bluetooth_device_bluez.h" |
| 16 #include "device/bluetooth/bluetooth_gatt_characteristic_bluez.h" | 15 #include "device/bluetooth/bluetooth_gatt_characteristic_bluez.h" |
| 17 #include "device/bluetooth/bluetooth_gatt_descriptor_bluez.h" | 16 #include "device/bluetooth/bluetooth_gatt_descriptor_bluez.h" |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 DCHECK(GetAdapter()); | 263 DCHECK(GetAdapter()); |
| 265 | 264 |
| 266 if (property_name == properties->flags.name()) | 265 if (property_name == properties->flags.name()) |
| 267 NotifyServiceChanged(); | 266 NotifyServiceChanged(); |
| 268 else if (property_name == properties->value.name()) | 267 else if (property_name == properties->value.name()) |
| 269 GetAdapter()->NotifyGattCharacteristicValueChanged( | 268 GetAdapter()->NotifyGattCharacteristicValueChanged( |
| 270 iter->second, properties->value.value()); | 269 iter->second, properties->value.value()); |
| 271 } | 270 } |
| 272 | 271 |
| 273 } // namespace bluez | 272 } // namespace bluez |
| OLD | NEW |