| 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_characteristic_bluez.h" | 5 #include "device/bluetooth/bluetooth_remote_gatt_characteristic_bluez.h" |
| 6 | 6 |
| 7 #include <iostream> | |
| 8 #include <iterator> | 7 #include <iterator> |
| 9 #include <limits> | 8 #include <limits> |
| 9 #include <ostream> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
| 16 #include "dbus/property.h" | 16 #include "dbus/property.h" |
| 17 #include "device/bluetooth/bluetooth_adapter_bluez.h" | 17 #include "device/bluetooth/bluetooth_adapter_bluez.h" |
| 18 #include "device/bluetooth/bluetooth_device.h" | 18 #include "device/bluetooth/bluetooth_device.h" |
| 19 #include "device/bluetooth/bluetooth_gatt_characteristic.h" | 19 #include "device/bluetooth/bluetooth_gatt_characteristic.h" |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 const ErrorCallback& error_callback, | 441 const ErrorCallback& error_callback, |
| 442 const std::string& error_name, | 442 const std::string& error_name, |
| 443 const std::string& error_message) { | 443 const std::string& error_message) { |
| 444 VLOG(1) << "Operation failed: " << error_name | 444 VLOG(1) << "Operation failed: " << error_name |
| 445 << ", message: " << error_message; | 445 << ", message: " << error_message; |
| 446 error_callback.Run( | 446 error_callback.Run( |
| 447 BluetoothGattServiceBlueZ::DBusErrorToServiceError(error_name)); | 447 BluetoothGattServiceBlueZ::DBusErrorToServiceError(error_name)); |
| 448 } | 448 } |
| 449 | 449 |
| 450 } // namespace bluez | 450 } // namespace bluez |
| OLD | NEW |