Index: components/autofill/content/browser/content_autofill_driver_factory.h |
diff --git a/components/autofill/content/browser/content_autofill_driver_factory.h b/components/autofill/content/browser/content_autofill_driver_factory.h |
index 4a1156bb7644c1dd9def067cabcde187a2fca403..e7f0b9789143d129bea779556d4b4d81165a6b03 100644 |
--- a/components/autofill/content/browser/content_autofill_driver_factory.h |
+++ b/components/autofill/content/browser/content_autofill_driver_factory.h |
@@ -21,6 +21,7 @@ class RenderFrameHost; |
namespace autofill { |
class ContentAutofillDriver; |
+class AutofillProvider; |
// Manages lifetime of ContentAutofillDriver. One Factory per WebContents |
// creates one Driver per RenderFrame. |
@@ -35,6 +36,14 @@ class ContentAutofillDriverFactory : public AutofillDriverFactory, |
AutofillClient* client, |
const std::string& app_locale, |
AutofillManager::AutofillDownloadManagerState enable_download_manager); |
+ |
+ static void CreateForWebContentsAndDelegate( |
+ content::WebContents* contents, |
+ AutofillClient* client, |
+ const std::string& app_locale, |
+ AutofillManager::AutofillDownloadManagerState enable_download_manager, |
+ AutofillProvider* provider); |
+ |
static ContentAutofillDriverFactory* FromWebContents( |
content::WebContents* contents); |
static void BindAutofillDriver( |
@@ -61,10 +70,12 @@ class ContentAutofillDriverFactory : public AutofillDriverFactory, |
content::WebContents* web_contents, |
AutofillClient* client, |
const std::string& app_locale, |
- AutofillManager::AutofillDownloadManagerState enable_download_manager); |
+ AutofillManager::AutofillDownloadManagerState enable_download_manager, |
+ AutofillProvider* provider); |
std::string app_locale_; |
AutofillManager::AutofillDownloadManagerState enable_download_manager_; |
+ AutofillProvider* provider_; |
}; |
} // namespace autofill |