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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROMEOS_DBUS_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_
6 #define CHROMEOS_DBUS_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace chromeos { 10 namespace device {
11 11
12 const size_t kBluetoothOutOfBandPairingDataSize = 16; 12 const size_t kBluetoothOutOfBandPairingDataSize = 16;
13 13
14 // A simple structure representing the data required to perform Out Of Band 14 // A simple structure representing the data required to perform Out Of Band
15 // Pairing. See 15 // Pairing. See
16 // http://mclean-linsky.net/joel/cv/Simple%20Pairing_WP_V10r00.pdf 16 // http://mclean-linsky.net/joel/cv/Simple%20Pairing_WP_V10r00.pdf
17 struct BluetoothOutOfBandPairingData { 17 struct BluetoothOutOfBandPairingData {
18 // Simple Pairing Hash C. 18 // Simple Pairing Hash C.
19 uint8_t hash[kBluetoothOutOfBandPairingDataSize]; 19 uint8 hash[kBluetoothOutOfBandPairingDataSize];
20 20
21 // Simple Pairing Randomizer R. 21 // Simple Pairing Randomizer R.
22 uint8_t randomizer[kBluetoothOutOfBandPairingDataSize]; 22 uint8 randomizer[kBluetoothOutOfBandPairingDataSize];
23 }; 23 };
24 24
25 } // namespace chromeos 25 } // namespace device
26 26
27 #endif // CHROMEOS_DBUS_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_ 27 #endif // DEVICE_BLUETOOTH_BLUETOOTH_OUT_OF_BAND_PAIRING_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698