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

Unified Diff: components/variations/metrics_util.h

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/experiment_labels_unittest.cc ('k') | components/variations/metrics_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/metrics_util.h
diff --git a/components/variations/metrics_util.h b/components/variations/metrics_util.h
index b331d4eaf1f3e9d252398c5180c0f1319c818341..823fcd7ba23d6d4fbe31a2e02576d870aacba7d2 100644
--- a/components/variations/metrics_util.h
+++ b/components/variations/metrics_util.h
@@ -5,15 +5,16 @@
#ifndef COMPONENTS_VARIATIONS_METRICS_UTIL_H_
#define COMPONENTS_VARIATIONS_METRICS_UTIL_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
namespace metrics {
-// Computes a uint32 hash of a given string based on its SHA1 hash. Suitable for
-// uniquely identifying field trial names and group names.
-uint32 HashName(const std::string& name);
+// Computes a uint32_t hash of a given string based on its SHA1 hash. Suitable
+// for uniquely identifying field trial names and group names.
+uint32_t HashName(const std::string& name);
} // namespace metrics
« no previous file with comments | « components/variations/experiment_labels_unittest.cc ('k') | components/variations/metrics_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698