| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 ~ChromeAutofillClient() override; | 38 ~ChromeAutofillClient() override; |
| 39 | 39 |
| 40 // AutofillClient: | 40 // AutofillClient: |
| 41 PersonalDataManager* GetPersonalDataManager() override; | 41 PersonalDataManager* GetPersonalDataManager() override; |
| 42 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 42 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
| 43 PrefService* GetPrefs() override; | 43 PrefService* GetPrefs() override; |
| 44 syncer::SyncService* GetSyncService() override; | 44 syncer::SyncService* GetSyncService() override; |
| 45 IdentityProvider* GetIdentityProvider() override; | 45 IdentityProvider* GetIdentityProvider() override; |
| 46 rappor::RapporServiceImpl* GetRapporServiceImpl() override; | 46 rappor::RapporServiceImpl* GetRapporServiceImpl() override; |
| 47 ukm::UkmService* GetUkmService() override; | 47 ukm::UkmService* GetUkmService() override; |
| 48 #if !defined(OS_ANDROID) |
| 49 SaveCardBubbleController* GetSaveCardBubbleController() override; |
| 50 #endif |
| 48 void ShowAutofillSettings() override; | 51 void ShowAutofillSettings() override; |
| 49 void ShowUnmaskPrompt(const CreditCard& card, | 52 void ShowUnmaskPrompt(const CreditCard& card, |
| 50 UnmaskCardReason reason, | 53 UnmaskCardReason reason, |
| 51 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 54 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
| 52 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 55 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
| 53 void ConfirmSaveCreditCardLocally(const CreditCard& card, | 56 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
| 54 const base::Closure& callback) override; | 57 const base::Closure& callback) override; |
| 55 void ConfirmSaveCreditCardToCloud( | 58 void ConfirmSaveCreditCardToCloud( |
| 56 const CreditCard& card, | 59 const CreditCard& card, |
| 57 std::unique_ptr<base::DictionaryValue> legal_message, | 60 std::unique_ptr<base::DictionaryValue> legal_message, |
| 61 bool should_cvc_be_requested, |
| 58 const base::Closure& callback) override; | 62 const base::Closure& callback) override; |
| 59 void ConfirmCreditCardFillAssist(const CreditCard& card, | 63 void ConfirmCreditCardFillAssist(const CreditCard& card, |
| 60 const base::Closure& callback) override; | 64 const base::Closure& callback) override; |
| 61 void LoadRiskData( | 65 void LoadRiskData( |
| 62 const base::Callback<void(const std::string&)>& callback) override; | 66 const base::Callback<void(const std::string&)>& callback) override; |
| 63 bool HasCreditCardScanFeature() override; | 67 bool HasCreditCardScanFeature() override; |
| 64 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 68 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
| 65 void ShowAutofillPopup( | 69 void ShowAutofillPopup( |
| 66 const gfx::RectF& element_bounds, | 70 const gfx::RectF& element_bounds, |
| 67 base::i18n::TextDirection text_direction, | 71 base::i18n::TextDirection text_direction, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 104 |
| 101 // The identity provider, used for Payments integration. | 105 // The identity provider, used for Payments integration. |
| 102 std::unique_ptr<IdentityProvider> identity_provider_; | 106 std::unique_ptr<IdentityProvider> identity_provider_; |
| 103 | 107 |
| 104 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 108 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
| 105 }; | 109 }; |
| 106 | 110 |
| 107 } // namespace autofill | 111 } // namespace autofill |
| 108 | 112 |
| 109 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 113 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| OLD | NEW |