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; |
46 void LoadRiskData( | 48 void LoadRiskData( |
47 const base::Callback<void(const std::string&)>& callback) override; | 49 const base::Callback<void(const std::string&)>& callback) override; |
48 bool HasCreditCardScanFeature() override; | 50 bool HasCreditCardScanFeature() override; |
49 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 51 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
50 void ShowAutofillPopup( | 52 void ShowAutofillPopup( |
51 const gfx::RectF& element_bounds, | 53 const gfx::RectF& element_bounds, |
52 base::i18n::TextDirection text_direction, | 54 base::i18n::TextDirection text_direction, |
53 const std::vector<Suggestion>& suggestions, | 55 const std::vector<Suggestion>& suggestions, |
54 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 56 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
55 void UpdateAutofillPopupDataListValues( | 57 void UpdateAutofillPopupDataListValues( |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 std::unique_ptr<rappor::TestRapporService> rappor_service_; | 89 std::unique_ptr<rappor::TestRapporService> rappor_service_; |
88 | 90 |
89 bool is_context_secure_; | 91 bool is_context_secure_; |
90 | 92 |
91 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); | 93 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); |
92 }; | 94 }; |
93 | 95 |
94 } // namespace autofill | 96 } // namespace autofill |
95 | 97 |
96 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 98 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
OLD | NEW |