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

Unified Diff: components/gcm_driver/gcm_stats_recorder_impl_unittest.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
Index: components/gcm_driver/gcm_stats_recorder_impl_unittest.cc
diff --git a/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc b/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc
index 7dafbaa96aec4809ef4d05ad874d2721a3a333c7..30a95dae089b5943b3cdaf6a7884cd00f4de7762 100644
--- a/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc
+++ b/components/gcm_driver/gcm_stats_recorder_impl_unittest.cc
@@ -4,6 +4,8 @@
#include "components/gcm_driver/gcm_stats_recorder_impl.h"
+#include <stdint.h>
+
#include <deque>
#include <string>
#include <vector>
@@ -15,7 +17,7 @@ namespace gcm {
namespace {
-static uint64 kAndroidId = 4U;
+static uint64_t kAndroidId = 4U;
static const char kCheckinStatus[] = "URL_FETCHING_FAILED";
static const char kHost[] = "www.example.com";
static const char kAppId[] = "app id 1";
@@ -29,7 +31,7 @@ static const gcm::MCSClient::MessageSendStatus kMessageSendStatus =
static const int kByteSize = 99;
static const int kTTL = 7;
static const int kRetries = 3;
-static const int64 kDelay = 15000;
+static const int64_t kDelay = 15000;
static const ConnectionFactory::ConnectionResetReason kReason =
ConnectionFactory::NETWORK_CHANGE;
static const int kNetworkError = 1;
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_impl.cc ('k') | components/gcm_driver/instance_id/instance_id_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698