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

Unified Diff: chromeos/dbus/gsm_sms_client.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 | « chromeos/dbus/gsm_sms_client.h ('k') | chromeos/dbus/gsm_sms_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/gsm_sms_client.cc
diff --git a/chromeos/dbus/gsm_sms_client.cc b/chromeos/dbus/gsm_sms_client.cc
index 4ca1b430caf554024c0c2e03b07b1b71dafe1551..c694bb0c6f947a4e41bcfd9a5aeb1dcdcf7b3b61 100644
--- a/chromeos/dbus/gsm_sms_client.cc
+++ b/chromeos/dbus/gsm_sms_client.cc
@@ -3,11 +3,14 @@
// found in the LICENSE file.
#include "chromeos/dbus/gsm_sms_client.h"
+#include <stdint.h>
+
#include <map>
#include <utility>
#include <vector>
#include "base/bind.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
@@ -57,7 +60,7 @@ class SMSProxy {
}
// Calls Delete method.
- void Delete(uint32 index, const DeleteCallback& callback) {
+ void Delete(uint32_t index, const DeleteCallback& callback) {
dbus::MethodCall method_call(modemmanager::kModemManagerSMSInterface,
modemmanager::kSMSDeleteFunction);
dbus::MessageWriter writer(&method_call);
@@ -69,7 +72,7 @@ class SMSProxy {
}
// Calls Get method.
- void Get(uint32 index, const GetCallback& callback) {
+ void Get(uint32_t index, const GetCallback& callback) {
dbus::MethodCall method_call(modemmanager::kModemManagerSMSInterface,
modemmanager::kSMSGetFunction);
dbus::MessageWriter writer(&method_call);
@@ -93,7 +96,7 @@ class SMSProxy {
private:
// Handles SmsReceived signal.
void OnSmsReceived(dbus::Signal* signal) {
- uint32 index = 0;
+ uint32_t index = 0;
bool complete = false;
dbus::MessageReader reader(signal);
if (!reader.PopUint32(&index) ||
@@ -179,7 +182,7 @@ class GsmSMSClientImpl : public GsmSMSClient {
// GsmSMSClient override.
void Delete(const std::string& service_name,
const dbus::ObjectPath& object_path,
- uint32 index,
+ uint32_t index,
const DeleteCallback& callback) override {
GetProxy(service_name, object_path)->Delete(index, callback);
}
@@ -187,7 +190,7 @@ class GsmSMSClientImpl : public GsmSMSClient {
// GsmSMSClient override.
void Get(const std::string& service_name,
const dbus::ObjectPath& object_path,
- uint32 index,
+ uint32_t index,
const GetCallback& callback) override {
GetProxy(service_name, object_path)->Get(index, callback);
}
« no previous file with comments | « chromeos/dbus/gsm_sms_client.h ('k') | chromeos/dbus/gsm_sms_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698