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

Unified Diff: chrome/browser/search/search_unittest.cc

Issue 2152743002: Remove search::ShouldPrerenderInstantUrlOnOmniboxFocus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_prefetch_srp
Patch Set: rebase 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
« no previous file with comments | « chrome/browser/search/search.cc ('k') | chrome/browser/ui/search/search_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search_unittest.cc
diff --git a/chrome/browser/search/search_unittest.cc b/chrome/browser/search/search_unittest.cc
index 72b12f4a9897d745d1b4033e06829fa73474a4ad..00857207e139775863bbea1cd2afa872781cd2f8 100644
--- a/chrome/browser/search/search_unittest.cc
+++ b/chrome/browser/search/search_unittest.cc
@@ -577,24 +577,6 @@ TEST_F(SearchTest, ShouldUseSearchPathForInstant_EnabledViaFieldTrial) {
EXPECT_TRUE(ShouldUseSearchPathForInstant());
}
-TEST_F(SearchTest,
- ShouldPrerenderInstantUrlOnOmniboxFocus_DisabledViaFieldTrial) {
- ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial(
- "EmbeddedSearch",
- "Group1 espv:89 prerender_instant_url_on_omnibox_focus:0"));
- EXPECT_FALSE(ShouldPrerenderInstantUrlOnOmniboxFocus());
- EXPECT_EQ(89ul, EmbeddedSearchPageVersion());
-}
-
-TEST_F(SearchTest,
- ShouldPrerenderInstantUrlOnOmniboxFocus_EnabledViaFieldTrial) {
- ASSERT_TRUE(base::FieldTrialList::CreateFieldTrial(
- "EmbeddedSearch",
- "Group1 espv:80 prerender_instant_url_on_omnibox_focus:1"));
- EXPECT_TRUE(ShouldPrerenderInstantUrlOnOmniboxFocus());
- EXPECT_EQ(80ul, EmbeddedSearchPageVersion());
-}
-
TEST_F(SearchTest, IsNTPURL) {
GURL invalid_url;
« no previous file with comments | « chrome/browser/search/search.cc ('k') | chrome/browser/ui/search/search_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698