Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: components/autofill/core/browser/test_autofill_client.h

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 14 matching lines...) Expand all
25 TestAutofillClient(); 25 TestAutofillClient();
26 ~TestAutofillClient() override; 26 ~TestAutofillClient() override;
27 27
28 // AutofillClient implementation. 28 // AutofillClient implementation.
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 sync_driver::SyncService* GetSyncService() override; 32 sync_driver::SyncService* GetSyncService() override;
33 IdentityProvider* GetIdentityProvider() override; 33 IdentityProvider* GetIdentityProvider() override;
34 rappor::RapporService* GetRapporService() override; 34 rappor::RapporService* GetRapporService() override;
35 void HideRequestAutocompleteDialog() override;
36 void ShowAutofillSettings() override; 35 void ShowAutofillSettings() override;
37 void ShowUnmaskPrompt(const CreditCard& card, 36 void ShowUnmaskPrompt(const CreditCard& card,
38 UnmaskCardReason reason, 37 UnmaskCardReason reason,
39 base::WeakPtr<CardUnmaskDelegate> delegate) override; 38 base::WeakPtr<CardUnmaskDelegate> delegate) override;
40 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; 39 void OnUnmaskVerificationResult(PaymentsRpcResult result) override;
41 void ConfirmSaveCreditCardLocally(const CreditCard& card, 40 void ConfirmSaveCreditCardLocally(const CreditCard& card,
42 const base::Closure& callback) override; 41 const base::Closure& callback) override;
43 void ConfirmSaveCreditCardToCloud( 42 void ConfirmSaveCreditCardToCloud(
44 const CreditCard& card, 43 const CreditCard& card,
45 std::unique_ptr<base::DictionaryValue> legal_message, 44 std::unique_ptr<base::DictionaryValue> legal_message,
46 const base::Closure& callback) override; 45 const base::Closure& callback) override;
47 void LoadRiskData( 46 void LoadRiskData(
48 const base::Callback<void(const std::string&)>& callback) override; 47 const base::Callback<void(const std::string&)>& callback) override;
49 bool HasCreditCardScanFeature() override; 48 bool HasCreditCardScanFeature() override;
50 void ScanCreditCard(const CreditCardScanCallback& callback) override; 49 void ScanCreditCard(const CreditCardScanCallback& callback) override;
51 void ShowRequestAutocompleteDialog(const FormData& form,
52 content::RenderFrameHost* rfh,
53 const ResultCallback& callback) override;
54 void ShowAutofillPopup( 50 void ShowAutofillPopup(
55 const gfx::RectF& element_bounds, 51 const gfx::RectF& element_bounds,
56 base::i18n::TextDirection text_direction, 52 base::i18n::TextDirection text_direction,
57 const std::vector<Suggestion>& suggestions, 53 const std::vector<Suggestion>& suggestions,
58 base::WeakPtr<AutofillPopupDelegate> delegate) override; 54 base::WeakPtr<AutofillPopupDelegate> delegate) override;
59 void UpdateAutofillPopupDataListValues( 55 void UpdateAutofillPopupDataListValues(
60 const std::vector<base::string16>& values, 56 const std::vector<base::string16>& values,
61 const std::vector<base::string16>& labels) override; 57 const std::vector<base::string16>& labels) override;
62 void HideAutofillPopup() override; 58 void HideAutofillPopup() override;
63 bool IsAutocompleteEnabled() override; 59 bool IsAutocompleteEnabled() override;
(...skipping 25 matching lines...) Expand all
89 std::unique_ptr<rappor::TestRapporService> rappor_service_; 85 std::unique_ptr<rappor::TestRapporService> rappor_service_;
90 86
91 bool is_context_secure_; 87 bool is_context_secure_;
92 88
93 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); 89 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient);
94 }; 90 };
95 91
96 } // namespace autofill 92 } // namespace autofill
97 93
98 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 94 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_metrics.cc ('k') | components/autofill/core/browser/test_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698