OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
6 #define IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 6 #define IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void ShowUnmaskPrompt(const CreditCard& card, | 59 void ShowUnmaskPrompt(const CreditCard& card, |
60 UnmaskCardReason reason, | 60 UnmaskCardReason reason, |
61 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 61 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
62 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 62 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
63 void ConfirmSaveCreditCardLocally(const CreditCard& card, | 63 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
64 const base::Closure& callback) override; | 64 const base::Closure& callback) override; |
65 void ConfirmSaveCreditCardToCloud( | 65 void ConfirmSaveCreditCardToCloud( |
66 const CreditCard& card, | 66 const CreditCard& card, |
67 std::unique_ptr<base::DictionaryValue> legal_message, | 67 std::unique_ptr<base::DictionaryValue> legal_message, |
68 const base::Closure& callback) override; | 68 const base::Closure& callback) override; |
| 69 void ConfirmCreditCardFillAssist(const CreditCard& card, |
| 70 const base::Closure& callback) override; |
69 void LoadRiskData( | 71 void LoadRiskData( |
70 const base::Callback<void(const std::string&)>& callback) override; | 72 const base::Callback<void(const std::string&)>& callback) override; |
71 bool HasCreditCardScanFeature() override; | 73 bool HasCreditCardScanFeature() override; |
72 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 74 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
73 void ShowAutofillPopup( | 75 void ShowAutofillPopup( |
74 const gfx::RectF& element_bounds, | 76 const gfx::RectF& element_bounds, |
75 base::i18n::TextDirection text_direction, | 77 base::i18n::TextDirection text_direction, |
76 const std::vector<Suggestion>& suggestions, | 78 const std::vector<Suggestion>& suggestions, |
77 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 79 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
78 void HideAutofillPopup() override; | 80 void HideAutofillPopup() override; |
(...skipping 19 matching lines...) Expand all Loading... |
98 password_manager::PasswordGenerationManager* password_generation_manager_; | 100 password_manager::PasswordGenerationManager* password_generation_manager_; |
99 std::unique_ptr<IdentityProvider> identity_provider_; | 101 std::unique_ptr<IdentityProvider> identity_provider_; |
100 CardUnmaskPromptControllerImpl unmask_controller_; | 102 CardUnmaskPromptControllerImpl unmask_controller_; |
101 | 103 |
102 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 104 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
103 }; | 105 }; |
104 | 106 |
105 } // namespace autofill | 107 } // namespace autofill |
106 | 108 |
107 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 109 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
OLD | NEW |