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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // AutofillClient implementation. | 48 // AutofillClient implementation. |
49 PersonalDataManager* GetPersonalDataManager() override; | 49 PersonalDataManager* GetPersonalDataManager() override; |
50 PrefService* GetPrefs() override; | 50 PrefService* GetPrefs() override; |
51 IdentityProvider* GetIdentityProvider() override; | 51 IdentityProvider* GetIdentityProvider() override; |
52 rappor::RapporService* GetRapporService() override; | 52 rappor::RapporService* GetRapporService() override; |
53 void HideRequestAutocompleteDialog() override; | 53 void HideRequestAutocompleteDialog() override; |
54 void ShowAutofillSettings() override; | 54 void ShowAutofillSettings() override; |
55 void ShowUnmaskPrompt(const CreditCard& card, | 55 void ShowUnmaskPrompt(const CreditCard& card, |
56 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 56 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
57 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 57 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
58 void ConfirmSaveCreditCardLocally(const base::Closure& callback) override; | 58 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
| 59 const base::Closure& callback) override; |
59 void ConfirmSaveCreditCardToCloud( | 60 void ConfirmSaveCreditCardToCloud( |
60 const base::Closure& callback, | 61 const CreditCard& card, |
61 scoped_ptr<base::DictionaryValue> legal_message) override; | 62 scoped_ptr<base::DictionaryValue> legal_message, |
| 63 const base::Closure& callback) override; |
62 void LoadRiskData( | 64 void LoadRiskData( |
63 const base::Callback<void(const std::string&)>& callback) override; | 65 const base::Callback<void(const std::string&)>& callback) override; |
64 bool HasCreditCardScanFeature() override; | 66 bool HasCreditCardScanFeature() override; |
65 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 67 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
66 void ShowRequestAutocompleteDialog( | 68 void ShowRequestAutocompleteDialog( |
67 const FormData& form, | 69 const FormData& form, |
68 content::RenderFrameHost* render_frame_host, | 70 content::RenderFrameHost* render_frame_host, |
69 const ResultCallback& callback) override; | 71 const ResultCallback& callback) override; |
70 void ShowAutofillPopup( | 72 void ShowAutofillPopup( |
71 const gfx::RectF& element_bounds, | 73 const gfx::RectF& element_bounds, |
(...skipping 21 matching lines...) Expand all Loading... |
93 password_manager::PasswordGenerationManager* password_generation_manager_; | 95 password_manager::PasswordGenerationManager* password_generation_manager_; |
94 scoped_ptr<IdentityProvider> identity_provider_; | 96 scoped_ptr<IdentityProvider> identity_provider_; |
95 CardUnmaskPromptControllerImpl unmask_controller_; | 97 CardUnmaskPromptControllerImpl unmask_controller_; |
96 | 98 |
97 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 99 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
98 }; | 100 }; |
99 | 101 |
100 } // namespace autofill | 102 } // namespace autofill |
101 | 103 |
102 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 104 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
OLD | NEW |