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

Unified Diff: chromeos/dbus/gsm_sms_client.h

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/fake_system_clock_client.cc ('k') | chromeos/dbus/gsm_sms_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/gsm_sms_client.h
diff --git a/chromeos/dbus/gsm_sms_client.h b/chromeos/dbus/gsm_sms_client.h
index afbae3845f956e1027f958fa4d0f52c530165e4f..01327e7c3eb6620456d0edde4b4e6758a5efcdc6 100644
--- a/chromeos/dbus/gsm_sms_client.h
+++ b/chromeos/dbus/gsm_sms_client.h
@@ -5,10 +5,12 @@
#ifndef CHROMEOS_DBUS_GSM_SMS_CLIENT_H_
#define CHROMEOS_DBUS_GSM_SMS_CLIENT_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/callback.h"
+#include "base/macros.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/dbus_client.h"
@@ -29,7 +31,8 @@ namespace chromeos {
// initializes the DBusThreadManager instance.
class CHROMEOS_EXPORT GsmSMSClient : public DBusClient {
public:
- typedef base::Callback<void(uint32 index, bool complete)> SmsReceivedHandler;
+ typedef base::Callback<void(uint32_t index, bool complete)>
+ SmsReceivedHandler;
typedef base::Callback<void()> DeleteCallback;
typedef base::Callback<void(const base::DictionaryValue& sms)> GetCallback;
typedef base::Callback<void(const base::ListValue& result)> ListCallback;
@@ -52,13 +55,13 @@ class CHROMEOS_EXPORT GsmSMSClient : public DBusClient {
// Calls Delete method. |callback| is called after the method call succeeds.
virtual void Delete(const std::string& service_name,
const dbus::ObjectPath& object_path,
- uint32 index,
+ uint32_t index,
const DeleteCallback& callback) = 0;
// Calls Get method. |callback| is called after the method call succeeds.
virtual void Get(const std::string& service_name,
const dbus::ObjectPath& object_path,
- uint32 index,
+ uint32_t index,
const GetCallback& callback) = 0;
// Calls List method. |callback| is called after the method call succeeds.
« no previous file with comments | « chromeos/dbus/fake_system_clock_client.cc ('k') | chromeos/dbus/gsm_sms_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698