DescriptionStop sharing BaseSearchProvider::OnURLFetchComplete between 2 providers
Sharing BaseSearchProvider::OnURLFetchComplete() between SearchProvider and ZeroSuggestProvider requires both providers to inherit a lot of virtual methods to customize the method's behavior.
This makes it difficult to track the code path to understand what is happening in OnURLFetchComplete with each provider.
Since SearchSuggestionParser was introduced and OnURLFetchComplete became slimmer,
it's simpler to have OnURLFetchComplete() implementations in each provider and remove virtual protected methods.
BUG=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288675
Patch Set 1 : #
Total comments: 14
Patch Set 2 : rebase #Patch Set 3 : Address comments #
Messages
Total messages: 6 (0 generated)
|