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

Unified Diff: components/variations/metrics_util_unittest.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/variations/metrics_util.cc ('k') | components/variations/net/variations_http_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/metrics_util_unittest.cc
diff --git a/components/variations/metrics_util_unittest.cc b/components/variations/metrics_util_unittest.cc
index 46f50caca4f5e7f6653a755f2093cb29e726e8d3..953e1390d0e8acb925cd01def422c9062e9e7a94 100644
--- a/components/variations/metrics_util_unittest.cc
+++ b/components/variations/metrics_util_unittest.cc
@@ -4,6 +4,10 @@
#include "components/variations/metrics_util.h"
+#include <stddef.h>
+#include <stdint.h>
+
+#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace metrics {
@@ -12,7 +16,7 @@ TEST(MetricsUtilTest, HashName) {
// Checks that hashing is stable on all platforms.
struct {
const char* name;
- uint32 hash_value;
+ uint32_t hash_value;
} known_hashes[] = {
{"a", 937752454u},
{"1", 723085877u},
« no previous file with comments | « components/variations/metrics_util.cc ('k') | components/variations/net/variations_http_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698