| Index: chrome/browser/autofill/autofill_external_delegate_unittest.cc
|
| diff --git a/chrome/browser/autofill/autofill_external_delegate_unittest.cc b/chrome/browser/autofill/autofill_external_delegate_unittest.cc
|
| index e0ba283f60935c83805430e9f0f8f6899e3a7b9e..a4fd0e927c0edf2b3561e5a2196434ea7013a093 100644
|
| --- a/chrome/browser/autofill/autofill_external_delegate_unittest.cc
|
| +++ b/chrome/browser/autofill/autofill_external_delegate_unittest.cc
|
| @@ -32,12 +32,11 @@ class MockAutofillExternalDelegate : public TestAutofillExternalDelegate {
|
| : TestAutofillExternalDelegate(wrapper, autofill_manger) {}
|
| ~MockAutofillExternalDelegate() {}
|
|
|
| - MOCK_METHOD5(ApplyAutofillSuggestions, void(
|
| + MOCK_METHOD4(ApplyAutofillSuggestions, void(
|
| const std::vector<string16>& autofill_values,
|
| const std::vector<string16>& autofill_labels,
|
| const std::vector<string16>& autofill_icons,
|
| - const std::vector<int>& autofill_unique_ids,
|
| - int separator_index));
|
| + const std::vector<int>& autofill_unique_ids));
|
|
|
| MOCK_METHOD4(OnQueryPlatformSpecific,
|
| void(int query_id,
|
| @@ -105,7 +104,7 @@ TEST_F(AutofillExternalDelegateUnitTest, TestExternalDelegateVirtualCalls) {
|
| // This should call OnQueryPlatform specific.
|
| external_delegate_->OnQuery(kQueryId, form, field, bounds, false);
|
|
|
| - EXPECT_CALL(*external_delegate_, ApplyAutofillSuggestions(_, _, _, _, _));
|
| + EXPECT_CALL(*external_delegate_, ApplyAutofillSuggestions(_, _, _, _));
|
|
|
| // This should call ApplyAutofillSuggestions.
|
| std::vector<string16> autofill_item;
|
| @@ -132,7 +131,7 @@ TEST_F(AutofillExternalDelegateUnitTest, TestExternalDelegateVirtualCalls) {
|
| TEST_F(AutofillExternalDelegateUnitTest, ExternalDelegateInvalidUniqueId) {
|
| // Ensure it doesn't try to preview the negative id.
|
| EXPECT_CALL(*autofill_manager_, OnFillAutofillFormData(_, _, _, _)).Times(0);
|
| - external_delegate_->SelectAutofillSuggestionAtIndex(-1, 0);
|
| + external_delegate_->SelectAutofillSuggestionAtIndex(-1);
|
|
|
| // Ensure it doesn't try to fill the form in with the negative id.
|
| EXPECT_CALL(*autofill_manager_, OnFillAutofillFormData(_, _, _, _)).Times(0);
|
|
|