Chromium Code Reviews| Index: base/metrics/metrics_hashes.h |
| diff --git a/components/metrics/metrics_hashes.h b/base/metrics/metrics_hashes.h |
| similarity index 59% |
| rename from components/metrics/metrics_hashes.h |
| rename to base/metrics/metrics_hashes.h |
| index 0906c0aafaebbb567044e41c012526346b556959..110f8a1a7748b2b0f324581189234f6baa3f91c5 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 { |
| +namespace base { |
| // 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); |
|
Mark Mentovai
2015/11/30 18:49:56
Can this be <stdint.h> uint64_t now? (remove basic
bcwhite
2015/11/30 19:13:20
Done.
|
| } // namespace metrics |
| -#endif // COMPONENTS_METRICS_METRICS_HASHES_H_ |
| +#endif // BASE_METRICS_METRICS_HASHES_H_ |