OLD | NEW |
| (Empty) |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/autofill/browser/test_autofill_manager_delegate.h" | |
6 | |
7 namespace autofill { | |
8 | |
9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} | |
10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {} | |
11 | |
12 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() { | |
13 return NULL; | |
14 } | |
15 | |
16 autocheckout::WhitelistManager* | |
17 TestAutofillManagerDelegate::GetAutocheckoutWhitelistManager() const { | |
18 return NULL; | |
19 } | |
20 | |
21 PrefService* TestAutofillManagerDelegate::GetPrefs() { | |
22 return NULL; | |
23 } | |
24 | |
25 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} | |
26 | |
27 void TestAutofillManagerDelegate::OnAutocheckoutError() {} | |
28 | |
29 void TestAutofillManagerDelegate::OnAutocheckoutSuccess() {} | |
30 | |
31 void TestAutofillManagerDelegate::ShowAutofillSettings() {} | |
32 | |
33 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( | |
34 const AutofillMetrics& metric_logger, | |
35 const CreditCard& credit_card, | |
36 const base::Closure& save_card_callback) {} | |
37 | |
38 void TestAutofillManagerDelegate::ShowAutocheckoutBubble( | |
39 const gfx::RectF& bounding_box, | |
40 bool is_google_user, | |
41 const base::Callback<void(bool)>& callback) {} | |
42 | |
43 void TestAutofillManagerDelegate::HideAutocheckoutBubble() {} | |
44 | |
45 void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog( | |
46 const FormData& form, | |
47 const GURL& source_url, | |
48 DialogType dialog_type, | |
49 const base::Callback<void(const FormStructure*, | |
50 const std::string&)>& callback) {} | |
51 | |
52 void TestAutofillManagerDelegate::ShowAutofillPopup( | |
53 const gfx::RectF& element_bounds, | |
54 base::i18n::TextDirection text_direction, | |
55 const std::vector<base::string16>& values, | |
56 const std::vector<base::string16>& labels, | |
57 const std::vector<base::string16>& icons, | |
58 const std::vector<int>& identifiers, | |
59 base::WeakPtr<AutofillPopupDelegate> delegate) {} | |
60 | |
61 void TestAutofillManagerDelegate::HideAutofillPopup() {} | |
62 | |
63 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {} | |
64 | |
65 } // namespace autofill | |
OLD | NEW |