Index: components/autofill/core/browser/test_autofill_client.cc |
diff --git a/components/autofill/core/browser/test_autofill_client.cc b/components/autofill/core/browser/test_autofill_client.cc |
index 72b2da47cc1179c3227bf265ba42deb234220119..ccbfded53fd68d8d39644391851ace5c99bdf29d 100644 |
--- a/components/autofill/core/browser/test_autofill_client.cc |
+++ b/components/autofill/core/browser/test_autofill_client.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "components/autofill/core/browser/test_autofill_client.h" |
+#include "components/autofill/core/browser/ui/mock_save_card_bubble_controller.h" |
#include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
@@ -45,6 +46,12 @@ ukm::UkmService* TestAutofillClient::GetUkmService() { |
return ukm_service_test_harness_.test_ukm_service(); |
} |
+#if !defined(OS_ANDROID) |
+SaveCardBubbleController* TestAutofillClient::GetSaveCardBubbleController() { |
+ return new MockSaveCardBubbleController(); |
+} |
+#endif |
+ |
void TestAutofillClient::ShowAutofillSettings() { |
} |
@@ -65,6 +72,7 @@ void TestAutofillClient::ConfirmSaveCreditCardLocally( |
void TestAutofillClient::ConfirmSaveCreditCardToCloud( |
const CreditCard& card, |
std::unique_ptr<base::DictionaryValue> legal_message, |
+ bool should_cvc_be_requested, |
const base::Closure& callback) { |
callback.Run(); |
} |