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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 std::unique_ptr<IdentityProvider> identity_provider); | 53 std::unique_ptr<IdentityProvider> identity_provider); |
54 ~AutofillClientIOS() override; | 54 ~AutofillClientIOS() override; |
55 | 55 |
56 // AutofillClient implementation. | 56 // AutofillClient implementation. |
57 PersonalDataManager* GetPersonalDataManager() override; | 57 PersonalDataManager* GetPersonalDataManager() override; |
58 PrefService* GetPrefs() override; | 58 PrefService* GetPrefs() override; |
59 syncer::SyncService* GetSyncService() override; | 59 syncer::SyncService* GetSyncService() override; |
60 IdentityProvider* GetIdentityProvider() override; | 60 IdentityProvider* GetIdentityProvider() override; |
61 rappor::RapporServiceImpl* GetRapporServiceImpl() override; | 61 rappor::RapporServiceImpl* GetRapporServiceImpl() override; |
62 ukm::UkmService* GetUkmService() override; | 62 ukm::UkmService* GetUkmService() override; |
| 63 SaveCardBubbleController* GetSaveCardBubbleController() override; |
63 void ShowAutofillSettings() override; | 64 void ShowAutofillSettings() override; |
64 void ShowUnmaskPrompt(const CreditCard& card, | 65 void ShowUnmaskPrompt(const CreditCard& card, |
65 UnmaskCardReason reason, | 66 UnmaskCardReason reason, |
66 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 67 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
67 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 68 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
68 void ConfirmSaveCreditCardLocally(const CreditCard& card, | 69 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
69 const base::Closure& callback) override; | 70 const base::Closure& callback) override; |
70 void ConfirmSaveCreditCardToCloud( | 71 void ConfirmSaveCreditCardToCloud( |
71 const CreditCard& card, | 72 const CreditCard& card, |
72 std::unique_ptr<base::DictionaryValue> legal_message, | 73 std::unique_ptr<base::DictionaryValue> legal_message, |
| 74 bool should_cvc_be_requested, |
73 const base::Closure& callback) override; | 75 const base::Closure& callback) override; |
74 void ConfirmCreditCardFillAssist(const CreditCard& card, | 76 void ConfirmCreditCardFillAssist(const CreditCard& card, |
75 const base::Closure& callback) override; | 77 const base::Closure& callback) override; |
76 void LoadRiskData( | 78 void LoadRiskData( |
77 const base::Callback<void(const std::string&)>& callback) override; | 79 const base::Callback<void(const std::string&)>& callback) override; |
78 bool HasCreditCardScanFeature() override; | 80 bool HasCreditCardScanFeature() override; |
79 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 81 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
80 void ShowAutofillPopup( | 82 void ShowAutofillPopup( |
81 const gfx::RectF& element_bounds, | 83 const gfx::RectF& element_bounds, |
82 base::i18n::TextDirection text_direction, | 84 base::i18n::TextDirection text_direction, |
(...skipping 24 matching lines...) Expand all Loading... |
107 password_manager::PasswordGenerationManager* password_generation_manager_; | 109 password_manager::PasswordGenerationManager* password_generation_manager_; |
108 std::unique_ptr<IdentityProvider> identity_provider_; | 110 std::unique_ptr<IdentityProvider> identity_provider_; |
109 CardUnmaskPromptControllerImpl unmask_controller_; | 111 CardUnmaskPromptControllerImpl unmask_controller_; |
110 | 112 |
111 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 113 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
112 }; | 114 }; |
113 | 115 |
114 } // namespace autofill | 116 } // namespace autofill |
115 | 117 |
116 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 118 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
OLD | NEW |