Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete.cc |
| diff --git a/chrome/browser/autocomplete/autocomplete.cc b/chrome/browser/autocomplete/autocomplete.cc |
| index 40ad6d26fdc8f1460cc024c4eaf4e265b490de1d..0245ff753748344e62e178aad6921d2dcbd8b849 100644 |
| --- a/chrome/browser/autocomplete/autocomplete.cc |
| +++ b/chrome/browser/autocomplete/autocomplete.cc |
| @@ -506,6 +506,9 @@ void AutocompleteProvider::Stop() { |
| void AutocompleteProvider::DeleteMatch(const AutocompleteMatch& match) { |
| } |
| +void AutocompleteProvider::PostProcessResult(AutocompleteResult* result) { |
| +} |
| + |
| AutocompleteProvider::~AutocompleteProvider() { |
| Stop(); |
| } |
| @@ -949,6 +952,10 @@ void AutocompleteController::UpdateResult(bool is_synchronous_pass) { |
| result_.CopyOldMatches(input_, last_result); |
| } |
| + for (ACProviders::const_iterator i(providers_.begin()); i != providers_.end(); |
|
Peter Kasting
2011/07/07 01:16:07
Nit: Should we DCHECK that the number of matches d
|
| + ++i) |
| + (*i)->PostProcessResult(&result_); |
| + |
| bool notify_default_match = is_synchronous_pass; |
| if (!is_synchronous_pass) { |
| const bool last_default_was_valid = |