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

Unified Diff: chrome/browser/ui/toolbar/toolbar_model_unittest.cc

Issue 2232863002: Remove search::GetSearchTerms since it always returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_query_extract
Patch Set: Mac 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: chrome/browser/ui/toolbar/toolbar_model_unittest.cc
diff --git a/chrome/browser/ui/toolbar/toolbar_model_unittest.cc b/chrome/browser/ui/toolbar/toolbar_model_unittest.cc
index d6ab154433edd09cbbc70013b3f57e9f4ae869d0..1ffb807506ac11db86cedf243cb19fc23f674998 100644
--- a/chrome/browser/ui/toolbar/toolbar_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/toolbar_model_unittest.cc
@@ -103,13 +103,11 @@ void ToolbarModelTest::NavigateAndCheckText(
std::string());
ToolbarModel* toolbar_model = browser()->toolbar_model();
EXPECT_EQ(expected_text, toolbar_model->GetText());
- EXPECT_FALSE(toolbar_model->WouldPerformSearchTermReplacement(false));
EXPECT_TRUE(toolbar_model->ShouldDisplayURL());
// Check after commit.
CommitPendingLoad(controller);
EXPECT_EQ(expected_text, toolbar_model->GetText());
- EXPECT_FALSE(toolbar_model->WouldPerformSearchTermReplacement(false));
EXPECT_TRUE(toolbar_model->ShouldDisplayURL());
}

Powered by Google App Engine
This is Rietveld 408576698