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

Unified Diff: device/bluetooth/dbus/bluetooth_agent_service_provider.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/dbus/bluetooth_agent_service_provider.cc
diff --git a/device/bluetooth/dbus/bluetooth_agent_service_provider.cc b/device/bluetooth/dbus/bluetooth_agent_service_provider.cc
index 7392f2b0c52b7458a6497a2e219f9d3749b970cc..0592356368533d2563faff3d920ae6c4c0a152a4 100644
--- a/device/bluetooth/dbus/bluetooth_agent_service_provider.cc
+++ b/device/bluetooth/dbus/bluetooth_agent_service_provider.cc
@@ -6,6 +6,7 @@
#include "base/bind.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/threading/platform_thread.h"
#include "dbus/exported_object.h"
@@ -203,8 +204,8 @@ class BluetoothAgentServiceProviderImpl : public BluetoothAgentServiceProvider {
dbus::MessageReader reader(method_call);
dbus::ObjectPath device_path;
- uint32 passkey;
- uint16 entered;
+ uint32_t passkey;
+ uint16_t entered;
if (!reader.PopObjectPath(&device_path) || !reader.PopUint32(&passkey) ||
!reader.PopUint16(&entered)) {
LOG(WARNING) << "DisplayPasskey called with incorrect paramters: "
@@ -228,7 +229,7 @@ class BluetoothAgentServiceProviderImpl : public BluetoothAgentServiceProvider {
dbus::MessageReader reader(method_call);
dbus::ObjectPath device_path;
- uint32 passkey;
+ uint32_t passkey;
if (!reader.PopObjectPath(&device_path) || !reader.PopUint32(&passkey)) {
LOG(WARNING) << "RequestConfirmation called with incorrect paramters: "
<< method_call->ToString();
@@ -344,7 +345,7 @@ class BluetoothAgentServiceProviderImpl : public BluetoothAgentServiceProvider {
void OnPasskey(dbus::MethodCall* method_call,
dbus::ExportedObject::ResponseSender response_sender,
Delegate::Status status,
- uint32 passkey) {
+ uint32_t passkey) {
DCHECK(OnOriginThread());
switch (status) {
« no previous file with comments | « device/bluetooth/dbus/bluetooth_agent_service_provider.h ('k') | device/bluetooth/dbus/bluetooth_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698