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 CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 PersonalDataManager* GetPersonalDataManager() override; | 48 PersonalDataManager* GetPersonalDataManager() override; |
49 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 49 scoped_refptr<AutofillWebDataService> GetDatabase() 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 122 |
121 // The identity provider, used for Payments integration. | 123 // The identity provider, used for Payments integration. |
122 scoped_ptr<IdentityProvider> identity_provider_; | 124 scoped_ptr<IdentityProvider> identity_provider_; |
123 | 125 |
124 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 126 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
125 }; | 127 }; |
126 | 128 |
127 } // namespace autofill | 129 } // namespace autofill |
128 | 130 |
129 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 131 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |