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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 // AutofillClient implementation. | 24 // AutofillClient implementation. |
25 PersonalDataManager* GetPersonalDataManager() override; | 25 PersonalDataManager* GetPersonalDataManager() override; |
26 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 26 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
27 PrefService* GetPrefs() override; | 27 PrefService* GetPrefs() override; |
28 IdentityProvider* GetIdentityProvider() override; | 28 IdentityProvider* GetIdentityProvider() override; |
29 void HideRequestAutocompleteDialog() override; | 29 void HideRequestAutocompleteDialog() override; |
30 void ShowAutofillSettings() override; | 30 void ShowAutofillSettings() override; |
31 void ShowUnmaskPrompt(const CreditCard& card, | 31 void ShowUnmaskPrompt(const CreditCard& card, |
32 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 32 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
33 void OnUnmaskVerificationResult(bool success) override; | 33 void OnUnmaskVerificationResult(GetRealPanResult result) override; |
34 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; | 34 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; |
35 bool HasCreditCardScanFeature() override; | 35 bool HasCreditCardScanFeature() override; |
36 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 36 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
37 void ShowRequestAutocompleteDialog(const FormData& form, | 37 void ShowRequestAutocompleteDialog(const FormData& form, |
38 content::RenderFrameHost* rfh, | 38 content::RenderFrameHost* rfh, |
39 const ResultCallback& callback) override; | 39 const ResultCallback& callback) override; |
40 void ShowAutofillPopup( | 40 void ShowAutofillPopup( |
41 const gfx::RectF& element_bounds, | 41 const gfx::RectF& element_bounds, |
42 base::i18n::TextDirection text_direction, | 42 base::i18n::TextDirection text_direction, |
43 const std::vector<Suggestion>& suggestions, | 43 const std::vector<Suggestion>& suggestions, |
(...skipping 18 matching lines...) Expand all Loading... |
62 scoped_ptr<PrefService> prefs_; | 62 scoped_ptr<PrefService> prefs_; |
63 scoped_ptr<FakeOAuth2TokenService> token_service_; | 63 scoped_ptr<FakeOAuth2TokenService> token_service_; |
64 scoped_ptr<FakeIdentityProvider> identity_provider_; | 64 scoped_ptr<FakeIdentityProvider> identity_provider_; |
65 | 65 |
66 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); | 66 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace autofill | 69 } // namespace autofill |
70 | 70 |
71 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 71 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
OLD | NEW |