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

Unified Diff: components/metrics/metrics_log_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
« no previous file with comments | « components/metrics/metrics_log_manager_unittest.cc ('k') | components/metrics/metrics_log_uploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_log_unittest.cc
diff --git a/components/metrics/metrics_log_unittest.cc b/components/metrics/metrics_log_unittest.cc
index bbdbbe5dec29dfc6029210b75ec7c48bfdd94213..c246e5cca5141440e4e6719cf29c8a7137723318 100644
--- a/components/metrics/metrics_log_unittest.cc
+++ b/components/metrics/metrics_log_unittest.cc
@@ -4,10 +4,13 @@
#include "components/metrics/metrics_log.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include "base/base64.h"
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "base/memory/scoped_vector.h"
#include "base/metrics/bucket_ranges.h"
#include "base/metrics/sample_vector.h"
@@ -28,10 +31,10 @@ namespace metrics {
namespace {
const char kClientId[] = "bogus client ID";
-const int64 kInstallDate = 1373051956;
-const int64 kInstallDateExpected = 1373050800; // Computed from kInstallDate.
-const int64 kEnabledDate = 1373001211;
-const int64 kEnabledDateExpected = 1373000400; // Computed from kEnabledDate.
+const int64_t kInstallDate = 1373051956;
+const int64_t kInstallDateExpected = 1373050800; // Computed from kInstallDate.
+const int64_t kEnabledDate = 1373001211;
+const int64_t kEnabledDateExpected = 1373000400; // Computed from kEnabledDate.
const int kSessionId = 127;
const variations::ActiveGroupId kFieldTrialIds[] = {
{37, 43},
« no previous file with comments | « components/metrics/metrics_log_manager_unittest.cc ('k') | components/metrics/metrics_log_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698