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

Unified Diff: chrome/common/translate/translate_common_metrics_unittest.cc

Issue 18820002: Remove ENABLE_LANGUAGE_DETECTION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix: mis-rebased Created 7 years, 5 months 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
« no previous file with comments | « chrome/common/translate/translate_common_metrics.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/translate/translate_common_metrics_unittest.cc
diff --git a/chrome/common/translate/translate_common_metrics_unittest.cc b/chrome/common/translate/translate_common_metrics_unittest.cc
index 4815cb1a1855d686c5ad995b5e861831de3589d7..cd0753eb8b3ca956276ebf1dd1df4165c798c759 100644
--- a/chrome/common/translate/translate_common_metrics_unittest.cc
+++ b/chrome/common/translate/translate_common_metrics_unittest.cc
@@ -288,8 +288,6 @@ TEST(TranslateCommonMetricsTest, ReportSimilarLanguageMatch) {
EXPECT_EQ(1, recorder.GetCount(kFalse));
}
-#if defined(ENABLE_LANGUAGE_DETECTION)
-
TEST(TranslateCommonMetricsTest, ReportLanguageDetectionTime) {
MetricsRecorder recorder(TranslateCommonMetrics::GetMetricsName(
TranslateCommonMetrics::UMA_LANGUAGE_DETECTION));
@@ -300,5 +298,3 @@ TEST(TranslateCommonMetricsTest, ReportLanguageDetectionTime) {
recorder.CheckValueInLogs(9.009);
recorder.CheckTotalCount(1);
}
-
-#endif // defined(ENABLE_LANGUAGE_DETECTION)
« no previous file with comments | « chrome/common/translate/translate_common_metrics.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698