| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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 "chrome/browser/autofill/test_autofill_manager_delegate.h" | 5 #include "chrome/browser/autofill/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 InfoBarService* TestAutofillManagerDelegate::GetInfoBarService() { | |
| 13 return NULL; | |
| 14 } | |
| 15 | |
| 16 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() { | 12 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() { |
| 17 return NULL; | 13 return NULL; |
| 18 } | 14 } |
| 19 | 15 |
| 20 PrefService* TestAutofillManagerDelegate::GetPrefs() { | 16 PrefService* TestAutofillManagerDelegate::GetPrefs() { |
| 21 return NULL; | 17 return NULL; |
| 22 } | 18 } |
| 23 | 19 |
| 24 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} | 20 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} |
| 25 | 21 |
| 26 bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const { | 22 bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const { |
| 27 return false; | 23 return false; |
| 28 } | 24 } |
| 29 | 25 |
| 30 bool TestAutofillManagerDelegate::IsPasswordSyncEnabled() const { | 26 bool TestAutofillManagerDelegate::IsPasswordSyncEnabled() const { |
| 31 return false; | 27 return false; |
| 32 } | 28 } |
| 33 | 29 |
| 34 void TestAutofillManagerDelegate::SetSyncStateChangedCallback( | 30 void TestAutofillManagerDelegate::SetSyncStateChangedCallback( |
| 35 const base::Closure& callback) { } | 31 const base::Closure& callback) { } |
| 36 | 32 |
| 37 void TestAutofillManagerDelegate::OnAutocheckoutError() {} | 33 void TestAutofillManagerDelegate::OnAutocheckoutError() {} |
| 38 | 34 |
| 39 void TestAutofillManagerDelegate::ShowAutofillSettings() {} | 35 void TestAutofillManagerDelegate::ShowAutofillSettings() {} |
| 40 | 36 |
| 37 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( |
| 38 const AutofillMetrics& metric_logger, |
| 39 const CreditCard& credit_card, |
| 40 const base::Closure& save_card_callback) {} |
| 41 |
| 41 void TestAutofillManagerDelegate::ShowPasswordGenerationBubble( | 42 void TestAutofillManagerDelegate::ShowPasswordGenerationBubble( |
| 42 const gfx::Rect& bounds, | 43 const gfx::Rect& bounds, |
| 43 const content::PasswordForm& form, | 44 const content::PasswordForm& form, |
| 44 autofill::PasswordGenerator* generator) {} | 45 autofill::PasswordGenerator* generator) {} |
| 45 | 46 |
| 46 void TestAutofillManagerDelegate::ShowAutocheckoutBubble( | 47 void TestAutofillManagerDelegate::ShowAutocheckoutBubble( |
| 47 const gfx::RectF& bounding_box, | 48 const gfx::RectF& bounding_box, |
| 48 const gfx::NativeView& native_view, | 49 const gfx::NativeView& native_view, |
| 49 const base::Closure& callback) {} | 50 const base::Closure& callback) {} |
| 50 | 51 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 64 const std::vector<string16>& labels, | 65 const std::vector<string16>& labels, |
| 65 const std::vector<string16>& icons, | 66 const std::vector<string16>& icons, |
| 66 const std::vector<int>& identifiers, | 67 const std::vector<int>& identifiers, |
| 67 AutofillPopupDelegate* delegate) {} | 68 AutofillPopupDelegate* delegate) {} |
| 68 | 69 |
| 69 void TestAutofillManagerDelegate::HideAutofillPopup() {} | 70 void TestAutofillManagerDelegate::HideAutofillPopup() {} |
| 70 | 71 |
| 71 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {} | 72 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {} |
| 72 | 73 |
| 73 } // namespace autofill | 74 } // namespace autofill |
| OLD | NEW |