forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop 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 Review URL: https://codereview.chromium.org/436833002 Cr-Commit-Position: refs/heads/master@{#288675} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288675 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
hashimoto@chromium.org
committed
Aug 11, 2014
1 parent
8e61bcf
commit 776ee59
Showing
6 changed files
with
180 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.