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

Unified Diff: components/toolbar/test_toolbar_model.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: components/toolbar/test_toolbar_model.cc
diff --git a/components/toolbar/test_toolbar_model.cc b/components/toolbar/test_toolbar_model.cc
index 6ad5b94d501cdbeb46baaae3191c8f24c020cd0a..d9f65fc9c83bb37f2289f4e53f7802602f1ab6b2 100644
--- a/components/toolbar/test_toolbar_model.cc
+++ b/components/toolbar/test_toolbar_model.cc
@@ -8,8 +8,7 @@
#include "ui/gfx/vector_icons_public.h"
TestToolbarModel::TestToolbarModel()
- : perform_search_term_replacement_(false),
- security_level_(security_state::SecurityStateModel::NONE),
+ : security_level_(security_state::SecurityStateModel::NONE),
#if defined(TOOLKIT_VIEWS)
icon_(gfx::VectorIconId::LOCATION_BAR_HTTP),
#else
@@ -32,11 +31,6 @@ GURL TestToolbarModel::GetURL() const {
return url_;
}
-bool TestToolbarModel::WouldPerformSearchTermReplacement(
- bool ignore_editing) const {
- return perform_search_term_replacement_;
-}
-
security_state::SecurityStateModel::SecurityLevel
TestToolbarModel::GetSecurityLevel(bool ignore_editing) const {
return security_level_;

Powered by Google App Engine
This is Rietveld 408576698