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 COMPONENTS_PROXIMITY_AUTH_BLE_REMOTE_ATTRIBUTE_H | 5 #ifndef COMPONENTS_CRYPTAUTH_BLE_REMOTE_ATTRIBUTE_H |
6 #define COMPONENTS_PROXIMITY_AUTH_BLE_REMOTE_ATTRIBUTE_H | 6 #define COMPONENTS_CRYPTAUTH_BLE_REMOTE_ATTRIBUTE_H |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "device/bluetooth/bluetooth_uuid.h" | 10 #include "device/bluetooth/bluetooth_uuid.h" |
11 | 11 |
12 namespace proximity_auth { | 12 namespace cryptauth { |
13 | 13 |
14 // Represents an attribute in the peripheral (service or characteristic). | 14 // Represents an attribute in the peripheral (service or characteristic). |
15 struct RemoteAttribute { | 15 struct RemoteAttribute { |
16 device::BluetoothUUID uuid; | 16 device::BluetoothUUID uuid; |
17 std::string id; | 17 std::string id; |
18 }; | 18 }; |
19 | 19 |
20 } // namespace proximity_auth | 20 } // namespace cryptauth |
21 | 21 |
22 #endif // COMPONENTS_PROXIMITY_AUTH_REMOTE_ATTRIBUTE_H | 22 #endif // COMPONENTS_CRYPTAUTH_REMOTE_ATTRIBUTE_H |
OLD | NEW |