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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/test_autofill_manager_delegate.cc
diff --git a/components/autofill/core/browser/test_autofill_manager_delegate.cc b/components/autofill/core/browser/test_autofill_manager_delegate.cc
index 13e600bb3be804a62c62a036fe841ebd4d5d77f7..551af49d0dc79425d461fbd3303da801901d66db 100644
--- a/components/autofill/core/browser/test_autofill_manager_delegate.cc
+++ b/components/autofill/core/browser/test_autofill_manager_delegate.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "components/autofill/core/browser/test_autofill_manager_delegate.h"
+#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
namespace autofill {
@@ -13,6 +14,11 @@ PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() {
return NULL;
}
+scoped_refptr<AutofillWebDataService>
+TestAutofillManagerDelegate::GetDatabase() {
+ return scoped_refptr<AutofillWebDataService>(NULL);
+}
+
PrefService* TestAutofillManagerDelegate::GetPrefs() {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698