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

Unified Diff: device/bluetooth/bluetooth_service_record_win_unittest.cc

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years 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
« no previous file with comments | « device/bluetooth/bluetooth_service_record_win.cc ('k') | device/bluetooth/bluetooth_socket_bluez.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_service_record_win_unittest.cc
diff --git a/device/bluetooth/bluetooth_service_record_win_unittest.cc b/device/bluetooth/bluetooth_service_record_win_unittest.cc
index 116f74038e9dcf4bbf53a753fec33f574c4ec585..59d6c896575a337b375f05cd0c61d61d87fd2b3e 100644
--- a/device/bluetooth/bluetooth_service_record_win_unittest.cc
+++ b/device/bluetooth/bluetooth_service_record_win_unittest.cc
@@ -2,7 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/strings/string_number_conversions.h"
#include "device/bluetooth/bluetooth_service_record_win.h"
#include "device/bluetooth/bluetooth_uuid.h"
@@ -30,13 +31,13 @@ namespace device {
class BluetoothServiceRecordWinTest : public testing::Test {
protected:
void ConvertSdpBytes(const char* sdp_hex_char,
- std::vector<uint8>* sdp_bytes_vector) {
+ std::vector<uint8_t>* sdp_bytes_vector) {
base::HexStringToBytes(sdp_hex_char, sdp_bytes_vector);
}
};
TEST_F(BluetoothServiceRecordWinTest, NoRfcommSdp) {
- std::vector<uint8> sdp_bytes_array;
+ std::vector<uint8_t> sdp_bytes_array;
ConvertSdpBytes(kTestNoRfcommSdpBytes, &sdp_bytes_array);
BluetoothServiceRecordWin service_record(
"01:02:03:0A:10:A0", "NoRfcommSdp", sdp_bytes_array, BluetoothUUID());
@@ -46,7 +47,7 @@ TEST_F(BluetoothServiceRecordWinTest, NoRfcommSdp) {
TEST_F(BluetoothServiceRecordWinTest, RfcommSdp) {
- std::vector<uint8> sdp_bytes_array;
+ std::vector<uint8_t> sdp_bytes_array;
ConvertSdpBytes(kTestRfcommSdpBytes, &sdp_bytes_array);
BluetoothServiceRecordWin service_record(
"01:02:03:0A:10:A0", "RfcommSdp", sdp_bytes_array, BluetoothUUID());
@@ -56,7 +57,7 @@ TEST_F(BluetoothServiceRecordWinTest, RfcommSdp) {
}
TEST_F(BluetoothServiceRecordWinTest, BthAddr) {
- std::vector<uint8> sdp_bytes_array;
+ std::vector<uint8_t> sdp_bytes_array;
ConvertSdpBytes(kTestRfcommSdpBytes, &sdp_bytes_array);
BluetoothServiceRecordWin service_record(
"01:02:03:0A:10:A0", "Sdp", sdp_bytes_array, BluetoothUUID());
« no previous file with comments | « device/bluetooth/bluetooth_service_record_win.cc ('k') | device/bluetooth/bluetooth_socket_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698