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

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

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years 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 #include "components/autofill/core/browser/test_autofill_client.h" 5 #include "components/autofill/core/browser/test_autofill_client.h"
6 6
7 #include "components/autofill/core/browser/autofill_manager.h"
7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 8 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
9 #include "components/infobars/core/confirm_infobar_delegate.h"
10 #include "components/infobars/core/infobar.h"
8 11
9 namespace autofill { 12 namespace autofill {
10 13
11 TestAutofillClient::TestAutofillClient() { 14 TestAutofillClient::TestAutofillClient() {
12 } 15 }
13 TestAutofillClient::~TestAutofillClient() { 16 TestAutofillClient::~TestAutofillClient() {
14 } 17 }
15 18
16 PersonalDataManager* TestAutofillClient::GetPersonalDataManager() { 19 PersonalDataManager* TestAutofillClient::GetPersonalDataManager() {
17 return NULL; 20 return NULL;
(...skipping 10 matching lines...) Expand all
28 void TestAutofillClient::HideRequestAutocompleteDialog() { 31 void TestAutofillClient::HideRequestAutocompleteDialog() {
29 } 32 }
30 33
31 void TestAutofillClient::ShowAutofillSettings() { 34 void TestAutofillClient::ShowAutofillSettings() {
32 } 35 }
33 36
34 void TestAutofillClient::ShowUnmaskPrompt() { 37 void TestAutofillClient::ShowUnmaskPrompt() {
35 } 38 }
36 39
37 void TestAutofillClient::ConfirmSaveCreditCard( 40 void TestAutofillClient::ConfirmSaveCreditCard(
41 AutofillManager* autofill_manager,
38 const base::Closure& save_card_callback) { 42 const base::Closure& save_card_callback) {
39 } 43 }
40 44
41 bool TestAutofillClient::HasCreditCardScanFeature() { 45 bool TestAutofillClient::HasCreditCardScanFeature() {
42 return false; 46 return false;
43 } 47 }
44 48
45 void TestAutofillClient::ScanCreditCard( 49 void TestAutofillClient::ScanCreditCard(
46 const CreditCardScanCallback& callback) { 50 const CreditCardScanCallback& callback) {
47 } 51 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 84 }
81 85
82 void TestAutofillClient::DidFillOrPreviewField( 86 void TestAutofillClient::DidFillOrPreviewField(
83 const base::string16& autofilled_value, 87 const base::string16& autofilled_value,
84 const base::string16& profile_full_name) { 88 const base::string16& profile_full_name) {
85 } 89 }
86 90
87 void TestAutofillClient::OnFirstUserGestureObserved() { 91 void TestAutofillClient::OnFirstUserGestureObserved() {
88 } 92 }
89 93
94 scoped_ptr<infobars::InfoBar> TestAutofillClient::CreateInfoBar(
95 scoped_ptr<ConfirmInfoBarDelegate> delegate) {
96 return scoped_ptr<infobars::InfoBar>(nullptr);
97 }
98
90 } // namespace autofill 99 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698