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

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

Issue 71683003: Have AutofillManagerDelegate supply the AutofillWebDataService to core code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 7 years, 1 month 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
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 #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::GetDatabase() {
19 return scoped_refptr<AutofillWebDataService>(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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698