| 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 "device/bluetooth/bluetooth_gatt_service.h" | 15 #include "device/bluetooth/bluetooth_gatt_service.h" |
| 15 #include "device/bluetooth/bluetooth_uuid.h" | 16 #include "device/bluetooth/bluetooth_uuid.h" |
| 16 | 17 |
| 17 namespace device { | 18 namespace device { |
| 18 | 19 |
| 19 class BluetoothAdapterAndroid; | 20 class BluetoothAdapterAndroid; |
| 20 class BluetoothDeviceAndroid; | 21 class BluetoothDeviceAndroid; |
| 21 class BluetoothRemoteGattCharacteristicAndroid; | 22 class BluetoothRemoteGattCharacteristicAndroid; |
| 22 | 23 |
| 23 // BluetoothRemoteGattServiceAndroid along with its owned Java class | 24 // BluetoothRemoteGattServiceAndroid along with its owned Java class |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 base::ScopedPtrHashMap<std::string, | 116 base::ScopedPtrHashMap<std::string, |
| 116 scoped_ptr<BluetoothRemoteGattCharacteristicAndroid>> | 117 scoped_ptr<BluetoothRemoteGattCharacteristicAndroid>> |
| 117 characteristics_; | 118 characteristics_; |
| 118 | 119 |
| 119 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceAndroid); | 120 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceAndroid); |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 } // namespace device | 123 } // namespace device |
| 123 | 124 |
| 124 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_ANDROID_H_ | 125 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_SERVICE_ANDROID_H_ |
| OLD | NEW |