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

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

Issue 23033016: Remove autocheckout code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Even more deletes, and Ilya review. Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_manager_delegate.h" 5 #include "components/autofill/core/browser/test_autofill_manager_delegate.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 8
9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} 9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {}
10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {} 10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {}
11 11
12 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() { 12 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() {
13 return NULL; 13 return NULL;
14 } 14 }
15 15
16 autocheckout::WhitelistManager*
17 TestAutofillManagerDelegate::GetAutocheckoutWhitelistManager() const {
18 return NULL;
19 }
20
21 PrefService* TestAutofillManagerDelegate::GetPrefs() { 16 PrefService* TestAutofillManagerDelegate::GetPrefs() {
22 return NULL; 17 return NULL;
23 } 18 }
24 19
25 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} 20 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {}
26 21
27 void TestAutofillManagerDelegate::OnAutocheckoutError() {}
28
29 void TestAutofillManagerDelegate::OnAutocheckoutSuccess() {}
30
31 void TestAutofillManagerDelegate::ShowAutofillSettings() {} 22 void TestAutofillManagerDelegate::ShowAutofillSettings() {}
32 23
33 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( 24 void TestAutofillManagerDelegate::ConfirmSaveCreditCard(
34 const AutofillMetrics& metric_logger, 25 const AutofillMetrics& metric_logger,
35 const CreditCard& credit_card, 26 const CreditCard& credit_card,
36 const base::Closure& save_card_callback) {} 27 const base::Closure& save_card_callback) {}
37 28
38 bool TestAutofillManagerDelegate::ShowAutocheckoutBubble(
39 const gfx::RectF& bounding_box,
40 bool is_google_user,
41 const base::Callback<void(AutocheckoutBubbleState)>& callback) {
42 return true;
43 }
44
45 void TestAutofillManagerDelegate::HideAutocheckoutBubble() {}
46
47 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog( 29 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog(
48 const FormData& form, 30 const FormData& form,
49 const GURL& source_url, 31 const GURL& source_url,
50 DialogType dialog_type, 32 DialogType dialog_type,
51 const base::Callback<void(const FormStructure*, 33 const base::Callback<void(const FormStructure*,
52 const std::string&)>& callback) {} 34 const std::string&)>& callback) {}
53 35
54 void TestAutofillManagerDelegate::ShowAutofillPopup( 36 void TestAutofillManagerDelegate::ShowAutofillPopup(
55 const gfx::RectF& element_bounds, 37 const gfx::RectF& element_bounds,
56 base::i18n::TextDirection text_direction, 38 base::i18n::TextDirection text_direction,
57 const std::vector<base::string16>& values, 39 const std::vector<base::string16>& values,
58 const std::vector<base::string16>& labels, 40 const std::vector<base::string16>& labels,
59 const std::vector<base::string16>& icons, 41 const std::vector<base::string16>& icons,
60 const std::vector<int>& identifiers, 42 const std::vector<int>& identifiers,
61 base::WeakPtr<AutofillPopupDelegate> delegate) {} 43 base::WeakPtr<AutofillPopupDelegate> delegate) {}
62 44
63 void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues( 45 void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues(
64 const std::vector<base::string16>& values, 46 const std::vector<base::string16>& values,
65 const std::vector<base::string16>& labels) {} 47 const std::vector<base::string16>& labels) {}
66 48
67 void TestAutofillManagerDelegate::HideAutofillPopup() {} 49 void TestAutofillManagerDelegate::HideAutofillPopup() {}
68 50
69 void TestAutofillManagerDelegate::AddAutocheckoutStep(
70 AutocheckoutStepType step_type) {}
71
72 void TestAutofillManagerDelegate::UpdateAutocheckoutStep(
73 AutocheckoutStepType step_type,
74 AutocheckoutStepStatus step_status) {}
75
76 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() { 51 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() {
77 return true; 52 return true;
78 } 53 }
79 54
80 } // namespace autofill 55 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698