| 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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_UUID_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_UUID_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_UUID_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_UUID_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace device { | 10 namespace device { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // - 16 bit: XXXX | 82 // - 16 bit: XXXX |
| 83 // - 32 bit: XXXXXXXX | 83 // - 32 bit: XXXXXXXX |
| 84 // - 128 bit: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX | 84 // - 128 bit: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX |
| 85 Format format_; | 85 Format format_; |
| 86 std::string value_; | 86 std::string value_; |
| 87 | 87 |
| 88 // The 128-bit string representation of the UUID. | 88 // The 128-bit string representation of the UUID. |
| 89 std::string canonical_value_; | 89 std::string canonical_value_; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 // This is required by gtest to print a readable output on test failures. |
| 93 void PrintTo(const BluetoothUUID& uuid, std::ostream* out); |
| 94 |
| 92 } // namespace device | 95 } // namespace device |
| 93 | 96 |
| 94 #endif // DEVICE_BLUETOOTH_BLUETOOTH_UUID_H_ | 97 #endif // DEVICE_BLUETOOTH_BLUETOOTH_UUID_H_ |
| OLD | NEW |