DescriptionRemove protected virtual methods from BaseSearchProvider
This change is a follow-up of https://codereview.chromium.org/436833002/.
-GetTemplateURL(), GetInput() and ShouldAppendExtraParams()
Instead of calling virtual methods, pass these values as arguments to
AddMatchToMap() and ParseSuggestResults().
-StopSuggest() and ClearAllResults()
These methods are used to customize the behavior of Stop().
Instead, define Stop() in SearchProvider and ZeroSuggestProvider.
-ModifyProviderInfo()
This method is only needed by ZeroSuggestProvider.
Instead, ZeroSuggestProvider overrides AddProviderInfo() to do the same thing.
BUG=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290222
Patch Set 1 : #
Total comments: 4
Patch Set 2 : Revive RecordDeletionResult() #Patch Set 3 : Revert getters #
Total comments: 2
Patch Set 4 : rebase #
Messages
Total messages: 10 (0 generated)
|