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

Unified Diff: components/search/search_android_unittest.cc

Issue 2513913002: Instant cleanup: Remove unused Android-only cmdline switches (Closed)
Patch Set: review Created 4 years, 1 month 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 | « components/search/search.cc ('k') | components/search/search_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search/search_android_unittest.cc
diff --git a/components/search/search_android_unittest.cc b/components/search/search_android_unittest.cc
index 387975f30142cb186eb0c3d59558c0f2007edf66..08fd73ce0d23e5326384f370e6e571f5340de5b0 100644
--- a/components/search/search_android_unittest.cc
+++ b/components/search/search_android_unittest.cc
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "components/search/search.h"
-#include "components/search/search_switches.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace search {
@@ -16,10 +15,6 @@ namespace {
TEST(SearchTest, EmbeddedSearchAPIEnabled) {
EXPECT_EQ(1ul, EmbeddedSearchPageVersion());
EXPECT_FALSE(IsInstantExtendedAPIEnabled());
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kEnableEmbeddedSearchAPI);
- EXPECT_EQ(2ul, EmbeddedSearchPageVersion());
- EXPECT_TRUE(IsInstantExtendedAPIEnabled());
}
} // namespace
« no previous file with comments | « components/search/search.cc ('k') | components/search/search_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698