Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | |
| 6 | 7 |
| 7 namespace autofill { | 8 namespace autofill { |
| 8 | 9 |
| 9 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} | 10 TestAutofillManagerDelegate::TestAutofillManagerDelegate() {} |
| 10 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {} | 11 TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {} |
| 11 | 12 |
| 12 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() { | 13 PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() { |
| 13 return NULL; | 14 return NULL; |
| 14 } | 15 } |
| 15 | 16 |
| 17 scoped_refptr<AutofillWebDataService> | |
| 18 TestAutofillManagerDelegate::GetAutofillWebDataService() { | |
| 19 return scoped_refptr<AutofillWebDataService>(NULL); | |
|
Ilya Sherman
2013/11/14 02:22:02
Optional nit: return make_scoped_refptr(NULL);
| |
| 20 } | |
| 21 | |
| 16 PrefService* TestAutofillManagerDelegate::GetPrefs() { | 22 PrefService* TestAutofillManagerDelegate::GetPrefs() { |
| 17 return NULL; | 23 return NULL; |
| 18 } | 24 } |
| 19 | 25 |
| 20 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} | 26 void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {} |
| 21 | 27 |
| 22 void TestAutofillManagerDelegate::ShowAutofillSettings() {} | 28 void TestAutofillManagerDelegate::ShowAutofillSettings() {} |
| 23 | 29 |
| 24 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( | 30 void TestAutofillManagerDelegate::ConfirmSaveCreditCard( |
| 25 const AutofillMetrics& metric_logger, | 31 const AutofillMetrics& metric_logger, |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 46 void TestAutofillManagerDelegate::HideAutofillPopup() {} | 52 void TestAutofillManagerDelegate::HideAutofillPopup() {} |
| 47 | 53 |
| 48 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() { | 54 bool TestAutofillManagerDelegate::IsAutocompleteEnabled() { |
| 49 return true; | 55 return true; |
| 50 } | 56 } |
| 51 | 57 |
| 52 void TestAutofillManagerDelegate::DetectAccountCreationForms( | 58 void TestAutofillManagerDelegate::DetectAccountCreationForms( |
| 53 const std::vector<autofill::FormStructure*>& forms) {} | 59 const std::vector<autofill::FormStructure*>& forms) {} |
| 54 | 60 |
| 55 } // namespace autofill | 61 } // namespace autofill |
| OLD | NEW |