| Index: chrome/browser/autofill/autofill_manager.cc
|
| diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
|
| index 64c4db8ffb3f6ed525b8f73c691a3ec3e3c82a3e..9b026a91cfa62e09a5f4456aa866fcf80ed2d300 100644
|
| --- a/chrome/browser/autofill/autofill_manager.cc
|
| +++ b/chrome/browser/autofill/autofill_manager.cc
|
| @@ -343,6 +343,8 @@ bool AutofillManager::OnMessageReceived(const IPC::Message& message) {
|
| OnAddPasswordFormMapping)
|
| IPC_MESSAGE_HANDLER(AutofillHostMsg_ShowPasswordSuggestions,
|
| OnShowPasswordSuggestions)
|
| + IPC_MESSAGE_HANDLER(AutofillHostMsg_SetDataList,
|
| + OnSetDataList)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
|
|
| @@ -768,6 +770,18 @@ void AutofillManager::OnShowPasswordSuggestions(
|
| external_delegate_->OnShowPasswordSuggestions(suggestions, field, bounds);
|
| }
|
|
|
| +void AutofillManager::OnSetDataList(const std::vector<string16>& values,
|
| + const std::vector<string16>& labels,
|
| + const std::vector<string16>& icons,
|
| + const std::vector<int>& unique_ids) {
|
| + if (external_delegate_) {
|
| + external_delegate_->SetCurrentDataListValues(values,
|
| + labels,
|
| + icons,
|
| + unique_ids);
|
| + }
|
| +}
|
| +
|
| void AutofillManager::OnLoadedServerPredictions(
|
| const std::string& response_xml) {
|
| // Parse and store the server predictions.
|
|
|