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

Unified Diff: base/metrics/metrics_hashes.h

Issue 1471073007: Reorganize histograms for persistence. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shmem-alloc
Patch Set: added GN changes Created 5 years, 1 month 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: base/metrics/metrics_hashes.h
diff --git a/components/metrics/metrics_hashes.h b/base/metrics/metrics_hashes.h
similarity index 63%
rename from components/metrics/metrics_hashes.h
rename to base/metrics/metrics_hashes.h
index 0906c0aafaebbb567044e41c012526346b556959..92c4078f0a247d1dab81232774e4de1256a616d3 100644
--- a/components/metrics/metrics_hashes.h
+++ b/base/metrics/metrics_hashes.h
@@ -2,19 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_METRICS_METRICS_HASHES_H_
-#define COMPONENTS_METRICS_METRICS_HASHES_H_
+#ifndef BASE_METRICS_METRICS_HASHES_H_
+#define BASE_METRICS_METRICS_HASHES_H_
#include <string>
+#include "base/base_export.h"
#include "base/basictypes.h"
namespace metrics {
// Computes a uint64 hash of a given string based on its MD5 hash. Suitable for
// metric names.
-uint64 HashMetricName(const std::string& name);
+BASE_EXPORT uint64 HashMetricName(const std::string& name);
} // namespace metrics
-#endif // COMPONENTS_METRICS_METRICS_HASHES_H_
+#endif // BASE_METRICS_METRICS_HASHES_H_

Powered by Google App Engine
This is Rietveld 408576698