| 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 COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 PersonalDataManager* GetPersonalDataManager() override; | 29 PersonalDataManager* GetPersonalDataManager() override; |
| 30 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 30 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
| 31 PrefService* GetPrefs() override; | 31 PrefService* GetPrefs() override; |
| 32 IdentityProvider* GetIdentityProvider() override; | 32 IdentityProvider* GetIdentityProvider() override; |
| 33 rappor::RapporService* GetRapporService() override; | 33 rappor::RapporService* GetRapporService() override; |
| 34 void HideRequestAutocompleteDialog() override; | 34 void HideRequestAutocompleteDialog() override; |
| 35 void ShowAutofillSettings() override; | 35 void ShowAutofillSettings() override; |
| 36 void ShowUnmaskPrompt(const CreditCard& card, | 36 void ShowUnmaskPrompt(const CreditCard& card, |
| 37 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 37 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
| 38 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 38 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
| 39 void ConfirmSaveCreditCardLocally(const base::Closure& callback) override; | 39 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
| 40 const base::Closure& callback) override; |
| 40 void ConfirmSaveCreditCardToCloud( | 41 void ConfirmSaveCreditCardToCloud( |
| 41 const base::Closure& callback, | 42 const CreditCard& card, |
| 42 scoped_ptr<base::DictionaryValue> legal_message) override; | 43 scoped_ptr<base::DictionaryValue> legal_message, |
| 44 const base::Closure& callback) override; |
| 43 void LoadRiskData( | 45 void LoadRiskData( |
| 44 const base::Callback<void(const std::string&)>& callback) override; | 46 const base::Callback<void(const std::string&)>& callback) override; |
| 45 bool HasCreditCardScanFeature() override; | 47 bool HasCreditCardScanFeature() override; |
| 46 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 48 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
| 47 void ShowRequestAutocompleteDialog(const FormData& form, | 49 void ShowRequestAutocompleteDialog(const FormData& form, |
| 48 content::RenderFrameHost* rfh, | 50 content::RenderFrameHost* rfh, |
| 49 const ResultCallback& callback) override; | 51 const ResultCallback& callback) override; |
| 50 void ShowAutofillPopup( | 52 void ShowAutofillPopup( |
| 51 const gfx::RectF& element_bounds, | 53 const gfx::RectF& element_bounds, |
| 52 base::i18n::TextDirection text_direction, | 54 base::i18n::TextDirection text_direction, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 83 scoped_ptr<rappor::TestRapporService> rappor_service_; | 85 scoped_ptr<rappor::TestRapporService> rappor_service_; |
| 84 | 86 |
| 85 bool is_context_secure_; | 87 bool is_context_secure_; |
| 86 | 88 |
| 87 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); | 89 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); |
| 88 }; | 90 }; |
| 89 | 91 |
| 90 } // namespace autofill | 92 } // namespace autofill |
| 91 | 93 |
| 92 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 94 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
| OLD | NEW |