| Index: chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
|
| diff --git a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
|
| index 3e8b8e4772238411270d6885d6531d94e1db3874..bc069298cc528f7e89d0552f6fa154cd032fddbf 100644
|
| --- a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
|
| +++ b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
|
| @@ -22,8 +22,10 @@
|
| #include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| #include "chrome/browser/ui/chrome_pages.h"
|
| +#include "chrome/browser/webdata/web_data_service_factory.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "components/autofill/browser/password_generator.h"
|
| +#include "components/autofill/browser/webdata/autofill_webdata_service.h"
|
| #include "content/public/browser/web_contents_view.h"
|
| #include "content/public/common/password_form.h"
|
| #include "ui/gfx/rect.h"
|
| @@ -43,6 +45,13 @@ TabAutofillManagerDelegate::~TabAutofillManagerDelegate() {
|
| HideAutofillPopup();
|
| }
|
|
|
| +scoped_refptr<AutofillWebDataService>
|
| +TabAutofillManagerDelegate::GetAutofillWebDataService() {
|
| + Profile* profile =
|
| + Profile::FromBrowserContext(web_contents_->GetBrowserContext());
|
| + return WebDataServiceFactory::GetAutofillWebDataServiceForProfile(profile);
|
| +}
|
| +
|
| PersonalDataManager* TabAutofillManagerDelegate::GetPersonalDataManager() {
|
| Profile* profile =
|
| Profile::FromBrowserContext(web_contents_->GetBrowserContext());
|
|
|