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..0dda07cff3e300a62b264a7a8506314eda6e6a1c 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 |
@@ -20,10 +19,6 @@ TestToolbarModel::TestToolbarModel() |
TestToolbarModel::~TestToolbarModel() {} |
-base::string16 TestToolbarModel::GetText() const { |
- return text_; |
-} |
- |
base::string16 TestToolbarModel::GetFormattedURL(size_t* prefix_end) const { |
return text_; |
} |
@@ -32,11 +27,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_; |