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

Unified Diff: device/bluetooth/bluetooth_socket_mac.mm

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_socket_mac.h ('k') | device/bluetooth/bluetooth_socket_net.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_socket_mac.mm
diff --git a/device/bluetooth/bluetooth_socket_mac.mm b/device/bluetooth/bluetooth_socket_mac.mm
index 261932a9cb80404d49d124d1ace9b7c0936d2ac6..0157d10f83db28b2279b986f5e82c19383ee9492 100644
--- a/device/bluetooth/bluetooth_socket_mac.mm
+++ b/device/bluetooth/bluetooth_socket_mac.mm
@@ -5,12 +5,12 @@
#include "device/bluetooth/bluetooth_socket_mac.h"
#import <IOBluetooth/IOBluetooth.h>
+#include <stdint.h>
#include <limits>
#include <sstream>
#include <string>
-#include "base/basictypes.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/callback_helpers.h"
@@ -253,7 +253,7 @@ IOBluetoothSDPUUID* GetIOBluetoothSDPUUID(const BluetoothUUID& uuid) {
numbers_only.erase(18, 1);
numbers_only.erase(13, 1);
numbers_only.erase(8, 1);
- std::vector<uint8> uuid_bytes_vector;
+ std::vector<uint8_t> uuid_bytes_vector;
base::HexStringToBytes(numbers_only, &uuid_bytes_vector);
DCHECK_EQ(uuid_bytes_vector.size(), 16U);
« no previous file with comments | « device/bluetooth/bluetooth_socket_mac.h ('k') | device/bluetooth/bluetooth_socket_net.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698