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

Unified Diff: components/gcm_driver/gcm_account_tracker.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 | « components/gcm_driver/gcm_account_tracker.h ('k') | components/gcm_driver/gcm_account_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_account_tracker.cc
diff --git a/components/gcm_driver/gcm_account_tracker.cc b/components/gcm_driver/gcm_account_tracker.cc
index 231ad432d1f29fe71013ff8e1d13364deca0ee11..06c08666b2a732bb056b3de8c59fc8099283bab7 100644
--- a/components/gcm_driver/gcm_account_tracker.cc
+++ b/components/gcm_driver/gcm_account_tracker.cc
@@ -4,6 +4,8 @@
#include "components/gcm_driver/gcm_account_tracker.h"
+#include <stdint.h>
+
#include <algorithm>
#include <vector>
@@ -27,9 +29,10 @@ const char kGCMCheckinServerScope[] =
// Name of the GCM account tracker for the OAuth2TokenService.
const char kGCMAccountTrackerName[] = "gcm_account_tracker";
// Minimum token validity when sending to GCM groups server.
-const int64 kMinimumTokenValidityMs = 500;
+const int64_t kMinimumTokenValidityMs = 500;
// Token reporting interval, when no account changes are detected.
-const int64 kTokenReportingIntervalMs = 12 * 60 * 60 * 1000; // 12 hours in ms.
+const int64_t kTokenReportingIntervalMs =
+ 12 * 60 * 60 * 1000; // 12 hours in ms.
} // namespace
« no previous file with comments | « components/gcm_driver/gcm_account_tracker.h ('k') | components/gcm_driver/gcm_account_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698