Index: components/translate/common/translate_metrics.h |
diff --git a/chrome/common/translate/translate_common_metrics.h b/components/translate/common/translate_metrics.h |
similarity index 92% |
rename from chrome/common/translate/translate_common_metrics.h |
rename to components/translate/common/translate_metrics.h |
index 0faed7f72f36a1aec003e22a7d13fc07728a198d..9baa268aa1d7db458b7dc1056291c8eb464f1f06 100644 |
--- a/chrome/common/translate/translate_common_metrics.h |
+++ b/components/translate/common/translate_metrics.h |
@@ -2,14 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_COMMON_TRANSLATE_TRANSLATE_COMMON_METRICS_H_ |
-#define CHROME_COMMON_TRANSLATE_TRANSLATE_COMMON_METRICS_H_ |
+#ifndef COMPONENTS_TRANSLATE_COMMON_TRANSLATE_METRICS_H_ |
+#define COMPONENTS_TRANSLATE_COMMON_TRANSLATE_METRICS_H_ |
#include <string> |
#include "base/time/time.h" |
-namespace TranslateCommonMetrics { |
+namespace translate { |
// An indexing type to query each UMA entry name via GetMetricsName() function. |
// Note: |kMetricsEntries| should be updated when a new entry is added here. |
@@ -99,6 +99,6 @@ void ReportSimilarLanguageMatch(bool match); |
// Gets UMA name for an entry specified by |index|. |
const char* GetMetricsName(MetricsNameIndex index); |
-} // namespace TranslateCommonMetrics |
+} // namespace translate |
-#endif // CHROME_COMMON_TRANSLATE_TRANSLATE_COMMON_METRICS_H_ |
+#endif // COMPONENTS_TRANSLATE_COMMON_TRANSLATE_METRICS_H_ |