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

Unified Diff: components/search/search_android_unittest.cc

Issue 2513913002: Instant cleanup: Remove unused Android-only cmdline switches (Closed)
Patch Set: 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..04fc1b9114378881262c54f18379fba4bc3b4c20 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 {
@@ -15,11 +14,6 @@ namespace {
TEST(SearchTest, EmbeddedSearchAPIEnabled) {
EXPECT_EQ(1ul, EmbeddedSearchPageVersion());
- EXPECT_FALSE(IsInstantExtendedAPIEnabled());
Jered 2016/11/22 16:21:13 I guess if we're going to bother with keeping L17,
Marc Treib 2016/11/22 16:59:15 Good catch! Done.
- 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