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

Unified Diff: components/metrics/metrics_hashes.h

Issue 794493002: Add UMA Histogram Manager to Cronet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments in Patch Set 1 Created 6 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/metrics/metrics_hashes.h
diff --git a/components/metrics/metrics_hashes.h b/components/metrics/metrics_hashes.h
index 0906c0aafaebbb567044e41c012526346b556959..ef861222b0aaa5af69bbb6af53cfaa53bfc0b537 100644
--- a/components/metrics/metrics_hashes.h
+++ b/components/metrics/metrics_hashes.h
@@ -15,6 +15,10 @@ namespace metrics {
// metric names.
uint64 HashMetricName(const std::string& name);
+// Computes the MD5 hash of the given string, and returns the first 8 bytes of
+// the hash.
+uint64 MetircsHash(const std::string& value);
+
} // namespace metrics
#endif // COMPONENTS_METRICS_METRICS_HASHES_H_

Powered by Google App Engine
This is Rietveld 408576698