| 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 <iostream> | |
| 6 #include <iterator> | 5 #include <iterator> |
| 6 #include <ostream> |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 13 #include "dbus/property.h" | 13 #include "dbus/property.h" |
| 14 #include "device/bluetooth/bluetooth_gatt_characteristic.h" | 14 #include "device/bluetooth/bluetooth_gatt_characteristic.h" |
| 15 #include "device/bluetooth/bluetooth_gatt_characteristic_bluez.h" | 15 #include "device/bluetooth/bluetooth_gatt_characteristic_bluez.h" |
| 16 #include "device/bluetooth/bluetooth_gatt_descriptor_bluez.h" | 16 #include "device/bluetooth/bluetooth_gatt_descriptor_bluez.h" |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 const std::string& error_name, | 121 const std::string& error_name, |
| 122 const std::string& error_message) { | 122 const std::string& error_message) { |
| 123 VLOG(1) << "Operation failed: " << error_name | 123 VLOG(1) << "Operation failed: " << error_name |
| 124 << ", message: " << error_message; | 124 << ", message: " << error_message; |
| 125 | 125 |
| 126 error_callback.Run( | 126 error_callback.Run( |
| 127 BluetoothGattServiceBlueZ::DBusErrorToServiceError(error_name)); | 127 BluetoothGattServiceBlueZ::DBusErrorToServiceError(error_name)); |
| 128 } | 128 } |
| 129 | 129 |
| 130 } // namespace bluez | 130 } // namespace bluez |
| OLD | NEW |