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

Unified Diff: google_apis/gcm/monitoring/gcm_stats_recorder.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
« no previous file with comments | « google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc ('k') | google_apis/gcm/tools/mcs_probe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/monitoring/gcm_stats_recorder.h
diff --git a/google_apis/gcm/monitoring/gcm_stats_recorder.h b/google_apis/gcm/monitoring/gcm_stats_recorder.h
index 72c4446e26d0730116624da4e640f7ea9cce6ce7..aee9179d6ff3eaee399798d95efa6528cfe0e0ad 100644
--- a/google_apis/gcm/monitoring/gcm_stats_recorder.h
+++ b/google_apis/gcm/monitoring/gcm_stats_recorder.h
@@ -5,6 +5,8 @@
#ifndef GOOGLE_APIS_GCM_MONITORING_GCM_STATS_RECORDER_H_
#define GOOGLE_APIS_GCM_MONITORING_GCM_STATS_RECORDER_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
@@ -42,10 +44,10 @@ class GCM_EXPORT GCMStatsRecorder {
virtual ~GCMStatsRecorder() {}
// Records that a check-in has been initiated.
- virtual void RecordCheckinInitiated(uint64 android_id) = 0;
+ virtual void RecordCheckinInitiated(uint64_t android_id) = 0;
// Records that a check-in has been delayed due to backoff.
- virtual void RecordCheckinDelayedDueToBackoff(int64 delay_msec) = 0;
+ virtual void RecordCheckinDelayedDueToBackoff(int64_t delay_msec) = 0;
// Records that a check-in request has succeeded.
virtual void RecordCheckinSuccess() = 0;
@@ -59,7 +61,7 @@ class GCM_EXPORT GCMStatsRecorder {
virtual void RecordConnectionInitiated(const std::string& host) = 0;
// Records that a connection has been delayed due to backoff.
- virtual void RecordConnectionDelayedDueToBackoff(int64 delay_msec) = 0;
+ virtual void RecordConnectionDelayedDueToBackoff(int64_t delay_msec) = 0;
// Records that connection has been successfully established.
virtual void RecordConnectionSuccess() = 0;
@@ -84,11 +86,10 @@ class GCM_EXPORT GCMStatsRecorder {
// Records that a registration retry has been requested and delayed due to
// backoff logic.
- virtual void RecordRegistrationRetryDelayed(
- const std::string& app_id,
- const std::string& source,
- int64 delay_msec,
- int retries_left) = 0;
+ virtual void RecordRegistrationRetryDelayed(const std::string& app_id,
+ const std::string& source,
+ int64_t delay_msec,
+ int retries_left) = 0;
// Records that an unregistration request has been sent. This could be
// initiated directly from API, or from retry logic.
@@ -105,7 +106,7 @@ class GCM_EXPORT GCMStatsRecorder {
// backoff logic.
virtual void RecordUnregistrationRetryDelayed(const std::string& app_id,
const std::string& source,
- int64 delay_msec,
+ int64_t delay_msec,
int retries_left) = 0;
// Records that a data message has been received. If this message is not
« no previous file with comments | « google_apis/gcm/monitoring/fake_gcm_stats_recorder.cc ('k') | google_apis/gcm/tools/mcs_probe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698