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

Unified Diff: chrome/browser/autocomplete_history_manager.cc

Issue 8490017: Setting up external delegate calls to allow a future delegate to handle autofill (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month 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_history_manager.cc
diff --git a/chrome/browser/autocomplete_history_manager.cc b/chrome/browser/autocomplete_history_manager.cc
index ea4e3998508430f7b54a7cb95ef8d17d876db979..9bae7c56a7859eb42dcb7d22fb91bde760fa00e3 100644
--- a/chrome/browser/autocomplete_history_manager.cc
+++ b/chrome/browser/autocomplete_history_manager.cc
@@ -265,6 +265,7 @@ void AutocompleteHistoryManager::SendSuggestions(
}
if (external_delegate_) {
+ Send(new AutofillMsg_HasExternalDelegate(routing_id(), true));
Ilya Sherman 2011/11/07 21:48:49 How about instead calling this within AutofillMana
csharp1 2011/11/08 19:59:00 That doesn't seem to work. Although the Send funct
Ilya Sherman 2011/11/08 21:06:16 Ah, that's irksome. Now that I think about this a
csharp 2011/11/09 16:18:37 Seems like a good solution, changes made. On 2011
external_delegate_->OnSuggestionsReturned(
query_id_,
autofill_values_,

Powered by Google App Engine
This is Rietveld 408576698