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_manager_client.h" | 5 #include "device/bluetooth/dbus/bluetooth_gatt_manager_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 "dbus/bus.h" | 10 #include "dbus/bus.h" |
10 #include "dbus/message.h" | 11 #include "dbus/message.h" |
11 #include "dbus/object_proxy.h" | 12 #include "dbus/object_proxy.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 const char BluetoothGattManagerClient::kNoResponseError[] = | 17 const char BluetoothGattManagerClient::kNoResponseError[] = |
17 "org.chromium.Error.NoResponse"; | 18 "org.chromium.Error.NoResponse"; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 BluetoothGattManagerClient::BluetoothGattManagerClient() {} | 121 BluetoothGattManagerClient::BluetoothGattManagerClient() {} |
121 | 122 |
122 BluetoothGattManagerClient::~BluetoothGattManagerClient() {} | 123 BluetoothGattManagerClient::~BluetoothGattManagerClient() {} |
123 | 124 |
124 // static | 125 // static |
125 BluetoothGattManagerClient* BluetoothGattManagerClient::Create() { | 126 BluetoothGattManagerClient* BluetoothGattManagerClient::Create() { |
126 return new BluetoothGattManagerClientImpl(); | 127 return new BluetoothGattManagerClientImpl(); |
127 } | 128 } |
128 | 129 |
129 } // namespace bluez | 130 } // namespace bluez |
OLD | NEW |