| 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/dbus/bluetooth_gatt_service_client.h" | 5 #include "device/bluetooth/dbus/bluetooth_gatt_service_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 9 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| 10 #include "dbus/bus.h" | 11 #include "dbus/bus.h" |
| 11 #include "dbus/object_manager.h" | 12 #include "dbus/object_manager.h" |
| 12 #include "third_party/cros_system_api/dbus/service_constants.h" | 13 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 13 | 14 |
| 14 namespace bluez { | 15 namespace bluez { |
| 15 | 16 |
| 16 BluetoothGattServiceClient::Properties::Properties( | 17 BluetoothGattServiceClient::Properties::Properties( |
| 17 dbus::ObjectProxy* object_proxy, | 18 dbus::ObjectProxy* object_proxy, |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 BluetoothGattServiceClient::BluetoothGattServiceClient() {} | 135 BluetoothGattServiceClient::BluetoothGattServiceClient() {} |
| 135 | 136 |
| 136 BluetoothGattServiceClient::~BluetoothGattServiceClient() {} | 137 BluetoothGattServiceClient::~BluetoothGattServiceClient() {} |
| 137 | 138 |
| 138 // static | 139 // static |
| 139 BluetoothGattServiceClient* BluetoothGattServiceClient::Create() { | 140 BluetoothGattServiceClient* BluetoothGattServiceClient::Create() { |
| 140 return new BluetoothGattServiceClientImpl(); | 141 return new BluetoothGattServiceClientImpl(); |
| 141 } | 142 } |
| 142 | 143 |
| 143 } // namespace bluez | 144 } // namespace bluez |
| OLD | NEW |