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

Unified Diff: components/search/search_android_unittest.cc

Issue 2211983002: Remove search::IsQueryExtractionEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_prefetch_non_default
Patch Set: remove more tests Created 4 years, 4 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
Index: components/search/search_android_unittest.cc
diff --git a/components/search/search_android_unittest.cc b/components/search/search_android_unittest.cc
index 063ec1a6f212c162790fdbce743336613c603608..387975f30142cb186eb0c3d59558c0f2007edf66 100644
--- a/components/search/search_android_unittest.cc
+++ b/components/search/search_android_unittest.cc
@@ -5,11 +5,8 @@
#include "components/search/search.h"
#include "base/command_line.h"
-#include "base/metrics/field_trial.h"
-#include "base/metrics/statistics_recorder.h"
#include "components/search/search.h"
#include "components/search/search_switches.h"
-#include "components/variations/entropy_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace search {
@@ -25,11 +22,6 @@ TEST(SearchTest, EmbeddedSearchAPIEnabled) {
EXPECT_TRUE(IsInstantExtendedAPIEnabled());
}
-TEST(SearchTest, QueryExtractionEnabled) {
- // Query extraction is disabled on mobile.
- EXPECT_FALSE(IsQueryExtractionEnabled());
-}
-
} // namespace
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698