OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_ANDROID_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_ANDROID_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_ANDROID_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/android/jni_android.h" | 12 #include "base/android/jni_android.h" |
13 #include "base/containers/scoped_ptr_hash_map.h" | 13 #include "base/containers/scoped_ptr_hash_map.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/scoped_ptr.h" |
15 #include "device/bluetooth/bluetooth_gatt_service.h" | 16 #include "device/bluetooth/bluetooth_gatt_service.h" |
16 #include "device/bluetooth/bluetooth_uuid.h" | 17 #include "device/bluetooth/bluetooth_uuid.h" |
17 | 18 |
18 namespace device { | 19 namespace device { |
19 | 20 |
20 class BluetoothAdapterAndroid; | 21 class BluetoothAdapterAndroid; |
21 class BluetoothDeviceAndroid; | 22 class BluetoothDeviceAndroid; |
22 class BluetoothRemoteGattCharacteristicAndroid; | 23 class BluetoothRemoteGattCharacteristicAndroid; |
23 | 24 |
24 // BluetoothRemoteGattServiceAndroid along with its owned Java class | 25 // BluetoothRemoteGattServiceAndroid along with its owned Java class |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 base::ScopedPtrHashMap<std::string, | 117 base::ScopedPtrHashMap<std::string, |
117 scoped_ptr<BluetoothRemoteGattCharacteristicAndroid>> | 118 scoped_ptr<BluetoothRemoteGattCharacteristicAndroid>> |
118 characteristics_; | 119 characteristics_; |
119 | 120 |
120 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceAndroid); | 121 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceAndroid); |
121 }; | 122 }; |
122 | 123 |
123 } // namespace device | 124 } // namespace device |
124 | 125 |
125 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_ANDROID_H_ | 126 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_ANDROID_H_ |
OLD | NEW |