Index: base/metrics/metrics_hashes_unittest.cc |
diff --git a/components/metrics/metrics_hashes_unittest.cc b/base/metrics/metrics_hashes_unittest.cc |
similarity index 85% |
rename from components/metrics/metrics_hashes_unittest.cc |
rename to base/metrics/metrics_hashes_unittest.cc |
index b949058d64bc9b46a38e74ae0db59a6067831266..cfe362564b540934233b32e7d57e515cb6bdd5cd 100644 |
--- a/components/metrics/metrics_hashes_unittest.cc |
+++ b/base/metrics/metrics_hashes_unittest.cc |
@@ -2,13 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "components/metrics/metrics_hashes.h" |
+#include "base/metrics/metrics_hashes.h" |
#include "base/format_macros.h" |
+#include "base/macros.h" |
#include "base/strings/stringprintf.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-namespace metrics { |
+namespace base { |
// Make sure our ID hashes are the same as what we see on the server side. |
TEST(MetricsUtilTest, HashMetricName) { |
@@ -22,7 +23,7 @@ TEST(MetricsUtilTest, HashMetricName) { |
}; |
for (size_t i = 0; i < arraysize(cases); ++i) { |
- uint64 hash = HashMetricName(cases[i].input); |
+ uint64_t hash = HashMetricName(cases[i].input); |
std::string hash_hex = base::StringPrintf("0x%016" PRIx64, hash); |
EXPECT_EQ(cases[i].output, hash_hex); |
} |