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

Unified Diff: android_webview/native/aw_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: 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: android_webview/native/aw_autofill_manager_delegate.cc
diff --git a/android_webview/native/aw_autofill_manager_delegate.cc b/android_webview/native/aw_autofill_manager_delegate.cc
index c05666111871c96a1b45d963987d43fbe6c5144d..ef8ab291c64ae91f8c4ba94c642059f6fa2a6888 100644
--- a/android_webview/native/aw_autofill_manager_delegate.cc
+++ b/android_webview/native/aw_autofill_manager_delegate.cc
@@ -70,6 +70,11 @@ AwAutofillManagerDelegate::GetPersonalDataManager() {
return NULL;
}
+scoped_refptr<autofill::AutofillWebDataService> GetAutofillWebDataService() {
+ return autofill::AutofillWebDataService::FromBrowserContext(
+ web_contents_->GetBrowserContext());
+}
+
void AwAutofillManagerDelegate::ShowAutofillPopup(
const gfx::RectF& element_bounds,
base::i18n::TextDirection text_direction,

Powered by Google App Engine
This is Rietveld 408576698