| 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 ProfileSyncServiceBase* TestAutofillManagerDelegate::GetProfileSyncService() { | 20 ProfileSyncServiceBase* TestAutofillManagerDelegate::GetProfileSyncService() { |
| 25 return NULL; | 21 return NULL; |
| 26 } | 22 } |
| 27 | 23 |
| 28 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} | 24 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} |
| 29 | 25 |
| 30 bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const { | 26 bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const { |
| 31 return false; | 27 return false; |
| 32 } | 28 } |
| 33 | 29 |
| 34 void TestAutofillManagerDelegate::OnAutocheckoutError() {} | 30 void TestAutofillManagerDelegate::OnAutocheckoutError() {} |
| 35 | 31 |
| 36 void TestAutofillManagerDelegate::ShowAutofillSettings() {} | 32 void TestAutofillManagerDelegate::ShowAutofillSettings() {} |
| 37 | 33 |
| 34 void TestAutofillManagerDelegate::ShowAutofillCCImportConfirmation( |
| 35 scoped_ptr<AutofillCCImportConfirmationDelegate> delegate) {} |
| 36 |
| 38 void TestAutofillManagerDelegate::ShowPasswordGenerationBubble( | 37 void TestAutofillManagerDelegate::ShowPasswordGenerationBubble( |
| 39 const gfx::Rect& bounds, | 38 const gfx::Rect& bounds, |
| 40 const content::PasswordForm& form, | 39 const content::PasswordForm& form, |
| 41 autofill::PasswordGenerator* generator) {} | 40 autofill::PasswordGenerator* generator) {} |
| 42 | 41 |
| 43 void TestAutofillManagerDelegate::ShowAutocheckoutBubble( | 42 void TestAutofillManagerDelegate::ShowAutocheckoutBubble( |
| 44 const gfx::RectF& bounding_box, | 43 const gfx::RectF& bounding_box, |
| 45 const gfx::NativeView& native_view, | 44 const gfx::NativeView& native_view, |
| 46 const base::Closure& callback) {} | 45 const base::Closure& callback) {} |
| 47 | 46 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 61 const std::vector<string16>& labels, | 60 const std::vector<string16>& labels, |
| 62 const std::vector<string16>& icons, | 61 const std::vector<string16>& icons, |
| 63 const std::vector<int>& identifiers, | 62 const std::vector<int>& identifiers, |
| 64 AutofillPopupDelegate* delegate) {} | 63 AutofillPopupDelegate* delegate) {} |
| 65 | 64 |
| 66 void TestAutofillManagerDelegate::HideAutofillPopup() {} | 65 void TestAutofillManagerDelegate::HideAutofillPopup() {} |
| 67 | 66 |
| 68 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {} | 67 void TestAutofillManagerDelegate::UpdateProgressBar(double value) {} |
| 69 | 68 |
| 70 } // namespace autofill | 69 } // namespace autofill |
| OLD | NEW |