Chromium Code Reviews| Index: chrome/browser/autocomplete/base_search_provider.cc |
| diff --git a/chrome/browser/autocomplete/base_search_provider.cc b/chrome/browser/autocomplete/base_search_provider.cc |
| index f7f4a9b011a24560123b400177686e03b53ee660..a842b2993fa2a2d90a52dc2dcd160d2016c2fc02 100644 |
| --- a/chrome/browser/autocomplete/base_search_provider.cc |
| +++ b/chrome/browser/autocomplete/base_search_provider.cc |
| @@ -335,11 +335,6 @@ void BaseSearchProvider::SuggestResult::ClassifyMatchContents( |
| } |
| } |
| -bool BaseSearchProvider::SuggestResult::IsInlineable( |
| - const base::string16& input) const { |
| - return StartsWith(suggestion_, input, false); |
| -} |
| - |
| int BaseSearchProvider::SuggestResult::CalculateRelevance( |
| const AutocompleteInput& input, |
| bool keyword_provider_requested) const { |
| @@ -414,12 +409,6 @@ void BaseSearchProvider::NavigationResult::CalculateAndClassifyMatchContents( |
| } |
| } |
| -bool BaseSearchProvider::NavigationResult::IsInlineable( |
| - const base::string16& input) const { |
| - return |
| - URLPrefix::BestURLPrefix(base::UTF8ToUTF16(url_.spec()), input) != NULL; |
|
Peter Kasting
2014/06/30 23:02:58
Can we remove any #includes due to deleting this c
Mark P
2014/06/30 23:27:36
I just checked. The answer is no.
|
| -} |
| - |
| int BaseSearchProvider::NavigationResult::CalculateRelevance( |
| const AutocompleteInput& input, |
| bool keyword_provider_requested) const { |