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

Unified Diff: device/bluetooth/bluetooth_socket_bluez.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_unittest.cc ('k') | device/bluetooth/bluetooth_socket_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_socket_bluez.cc
diff --git a/device/bluetooth/bluetooth_socket_bluez.cc b/device/bluetooth/bluetooth_socket_bluez.cc
index 46269c98e317ae57e8b7b0f9657b7694c6a8a98d..df5a0c03b42936b2761fb906451f4f1423e51a15 100644
--- a/device/bluetooth/bluetooth_socket_bluez.cc
+++ b/device/bluetooth/bluetooth_socket_bluez.cc
@@ -4,10 +4,11 @@
#include "device/bluetooth/bluetooth_socket_bluez.h"
+#include <stdint.h>
+
#include <queue>
#include <string>
-#include "base/basictypes.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/logging.h"
@@ -139,11 +140,11 @@ void BluetoothSocketBlueZ::Listen(
switch (socket_type) {
case kRfcomm:
options_->channel.reset(
- new uint16(service_options.channel ? *service_options.channel : 0));
+ new uint16_t(service_options.channel ? *service_options.channel : 0));
break;
case kL2cap:
options_->psm.reset(
- new uint16(service_options.psm ? *service_options.psm : 0));
+ new uint16_t(service_options.psm ? *service_options.psm : 0));
break;
default:
NOTREACHED();
« no previous file with comments | « device/bluetooth/bluetooth_service_record_win_unittest.cc ('k') | device/bluetooth/bluetooth_socket_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698