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

Unified Diff: device/bluetooth/bluetooth_task_manager_win.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
Index: device/bluetooth/bluetooth_task_manager_win.cc
diff --git a/device/bluetooth/bluetooth_task_manager_win.cc b/device/bluetooth/bluetooth_task_manager_win.cc
index 53e307cbf7413957bd5178cc729a6842bc112e39..a3c75b66ebb679cccdb66a39d59d8297cbc42276 100644
--- a/device/bluetooth/bluetooth_task_manager_win.cc
+++ b/device/bluetooth/bluetooth_task_manager_win.cc
@@ -4,11 +4,11 @@
#include "device/bluetooth/bluetooth_task_manager_win.h"
+#include <stddef.h>
#include <winsock2.h>
#include <string>
-#include "base/basictypes.h"
#include "base/bind.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
@@ -613,7 +613,7 @@ int BluetoothTaskManagerWin::DiscoverClassicDeviceServicesWorker(
ServiceRecordState* service_record_state = new ServiceRecordState();
service_record_state->name =
base::SysWideToUTF8(sdp_result_data->lpszServiceInstanceName);
- for (uint64 i = 0; i < sdp_result_data->lpBlob->cbSize; i++) {
+ for (uint64_t i = 0; i < sdp_result_data->lpBlob->cbSize; i++) {
service_record_state->sdp_bytes.push_back(
sdp_result_data->lpBlob->pBlobData[i]);
}
« no previous file with comments | « device/bluetooth/bluetooth_task_manager_win.h ('k') | device/bluetooth/bluetooth_task_manager_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698