OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 void ShowUnmaskPrompt(const CreditCard& card, | 36 void ShowUnmaskPrompt(const CreditCard& card, |
37 UnmaskCardReason reason, | 37 UnmaskCardReason reason, |
38 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 38 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
39 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 39 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
40 void ConfirmSaveCreditCardLocally(const CreditCard& card, | 40 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
41 const base::Closure& callback) override; | 41 const base::Closure& callback) override; |
42 void ConfirmSaveCreditCardToCloud( | 42 void ConfirmSaveCreditCardToCloud( |
43 const CreditCard& card, | 43 const CreditCard& card, |
44 std::unique_ptr<base::DictionaryValue> legal_message, | 44 std::unique_ptr<base::DictionaryValue> legal_message, |
45 const base::Closure& callback) override; | 45 const base::Closure& callback) override; |
| 46 void ConfirmCreditCardFillAssist(const CreditCard& card, |
| 47 const base::Closure& callback) override; |
| 48 #if defined(OS_ANDROID) |
| 49 std::unique_ptr<infobars::InfoBar> CreateCreditCardFillingInfoBar( |
| 50 std::unique_ptr<AutofillCreditCardFillingInfoBarDelegateMobile> delegate) |
| 51 override; |
| 52 #endif |
46 void LoadRiskData( | 53 void LoadRiskData( |
47 const base::Callback<void(const std::string&)>& callback) override; | 54 const base::Callback<void(const std::string&)>& callback) override; |
48 bool HasCreditCardScanFeature() override; | 55 bool HasCreditCardScanFeature() override; |
49 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 56 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
50 void ShowAutofillPopup( | 57 void ShowAutofillPopup( |
51 const gfx::RectF& element_bounds, | 58 const gfx::RectF& element_bounds, |
52 base::i18n::TextDirection text_direction, | 59 base::i18n::TextDirection text_direction, |
53 const std::vector<Suggestion>& suggestions, | 60 const std::vector<Suggestion>& suggestions, |
54 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 61 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
55 void UpdateAutofillPopupDataListValues( | 62 void UpdateAutofillPopupDataListValues( |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 std::unique_ptr<rappor::TestRapporService> rappor_service_; | 94 std::unique_ptr<rappor::TestRapporService> rappor_service_; |
88 | 95 |
89 bool is_context_secure_; | 96 bool is_context_secure_; |
90 | 97 |
91 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); | 98 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); |
92 }; | 99 }; |
93 | 100 |
94 } // namespace autofill | 101 } // namespace autofill |
95 | 102 |
96 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 103 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
OLD | NEW |