Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: device/bluetooth/bluetooth_out_of_band_pairing_data.h

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renamed 'bluetooth' target to 'device_bluetooth'. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..1b45bb0b9d233938d9ee21a553e94821d0660127 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 device {
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];
};
-} // namespace chromeos
+} // namespace device
-#endif // CHROMEOS_DBUS_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698