Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: chrome/browser/autocomplete/autocomplete.cc

Issue 7321001: Changes SearchProvider to set the description of the first consecutive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 =

Powered by Google App Engine
This is Rietveld 408576698