Index: device/bluetooth/bluetooth_out_of_band_pairing_data.h |
diff --git a/chromeos/dbus/bluetooth_out_of_band_pairing_data.h b/device/bluetooth/bluetooth_out_of_band_pairing_data.h |
similarity index 60% |
rename from chromeos/dbus/bluetooth_out_of_band_pairing_data.h |
rename to device/bluetooth/bluetooth_out_of_band_pairing_data.h |
index 0c8e2bc03350cb4a5a2fd010897ea31bf485b0a4..1fd14f33da02be4430bfc47ff6d17353a4376ccf 100644 |
--- a/chromeos/dbus/bluetooth_out_of_band_pairing_data.h |
+++ b/device/bluetooth/bluetooth_out_of_band_pairing_data.h |
@@ -2,12 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROMEOS_DBUS_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ |
-#define CHROMEOS_DBUS_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ |
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ |
+#define DEVICE_BLUETOOTH_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ |
#include "base/basictypes.h" |
-namespace chromeos { |
+namespace bluetooth { |
const size_t kBluetoothOutOfBandPairingDataSize = 16; |
@@ -16,12 +16,12 @@ const size_t kBluetoothOutOfBandPairingDataSize = 16; |
// http://mclean-linsky.net/joel/cv/Simple%20Pairing_WP_V10r00.pdf |
struct BluetoothOutOfBandPairingData { |
// Simple Pairing Hash C. |
- uint8_t hash[kBluetoothOutOfBandPairingDataSize]; |
+ uint8 hash[kBluetoothOutOfBandPairingDataSize]; |
// Simple Pairing Randomizer R. |
- uint8_t randomizer[kBluetoothOutOfBandPairingDataSize]; |
+ uint8 randomizer[kBluetoothOutOfBandPairingDataSize]; |
keybuk
2012/10/12 00:13:18
is there a uint8 on non-Windows? uint8_t is the C
youngki
2012/10/12 01:50:12
At least uint8 is defined in base/basictypes.h.
"
|
}; |
-} // namespace chromeos |
+} // namespace bluetooth |
-#endif // CHROMEOS_DBUS_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ |
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ |