Index: components/variations/metrics_util.h |
diff --git a/components/variations/metrics_util.h b/components/variations/metrics_util.h |
index b331d4eaf1f3e9d252398c5180c0f1319c818341..f0c42daa2bb7cc5fb83352d713f15d11318241ba 100644 |
--- a/components/variations/metrics_util.h |
+++ b/components/variations/metrics_util.h |
@@ -15,6 +15,10 @@ namespace metrics { |
// uniquely identifying field trial names and group names. |
uint32 HashName(const std::string& name); |
+// Computes a uint64 hash of a given string based on its MD5 hash. Suitable for |
+// metric names. |
+uint64 HashMetricName(const std::string& name); |
+ |
} // namespace metrics |
#endif // COMPONENTS_VARIATIONS_METRICS_UTIL_H_ |