Index: components/rappor/rappor_service_unittest.cc |
diff --git a/components/rappor/rappor_service_unittest.cc b/components/rappor/rappor_service_unittest.cc |
index 3b38c1af01a88e710cbdfc0609d116a710b75de6..93a981ae94a1da6cab3e77475a942c7b2afb1f79 100644 |
--- a/components/rappor/rappor_service_unittest.cc |
+++ b/components/rappor/rappor_service_unittest.cc |
@@ -5,8 +5,8 @@ |
#include "components/rappor/rappor_service.h" |
#include "base/base64.h" |
+#include "base/metrics/metrics_hashes.h" |
#include "base/prefs/testing_pref_service.h" |
-#include "components/metrics/metrics_hashes.h" |
#include "components/rappor/byte_vector_utils.h" |
#include "components/rappor/proto/rappor_metric.pb.h" |
#include "components/rappor/rappor_parameters.h" |
@@ -122,8 +122,8 @@ TEST(RapporServiceTest, RecordSample) { |
sample->SetStringField("Url", "example.com"); |
sample->SetFlagsField("Flags1", 0xbcd, 12); |
rappor_service.RecordSampleObj("ObjMetric", sample.Pass()); |
- uint64_t url_hash = metrics::HashMetricName("ObjMetric.Url"); |
- uint64_t flags_hash = metrics::HashMetricName("ObjMetric.Flags1"); |
+ uint64_t url_hash = base::HashMetricName("ObjMetric.Url"); |
+ uint64_t flags_hash = base::HashMetricName("ObjMetric.Flags1"); |
RapporReports reports; |
rappor_service.GetReports(&reports); |
EXPECT_EQ(2, reports.report_size()); |