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

Unified Diff: google_apis/gcm/engine/unregistration_request.h

Issue 1548673002: Switch to standard integer types in google_apis/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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: google_apis/gcm/engine/unregistration_request.h
diff --git a/google_apis/gcm/engine/unregistration_request.h b/google_apis/gcm/engine/unregistration_request.h
index b6b5eaccd7a3b26d2b99104c3dfcaddd5e745e17..33c35b33c96bf94203d78aaa69925dc1c156e668 100644
--- a/google_apis/gcm/engine/unregistration_request.h
+++ b/google_apis/gcm/engine/unregistration_request.h
@@ -5,8 +5,10 @@
#ifndef GOOGLE_APIS_GCM_ENGINE_UNREGISTRATION_REQUEST_H_
#define GOOGLE_APIS_GCM_ENGINE_UNREGISTRATION_REQUEST_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -59,15 +61,15 @@ class GCM_EXPORT UnregistrationRequest : public net::URLFetcherDelegate {
// Defines the common info about an unregistration/token-deletion request.
// All parameters are mandatory.
struct GCM_EXPORT RequestInfo {
- RequestInfo(uint64 android_id,
- uint64 security_token,
+ RequestInfo(uint64_t android_id,
+ uint64_t security_token,
const std::string& app_id);
~RequestInfo();
// Android ID of the device.
- uint64 android_id;
+ uint64_t android_id;
// Security token of the device.
- uint64 security_token;
+ uint64_t security_token;
// Application ID.
std::string app_id;
};
« no previous file with comments | « google_apis/gcm/engine/registration_request_unittest.cc ('k') | google_apis/gcm/engine/unregistration_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698