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

Unified Diff: components/autofill/content/browser/content_autofill_driver_factory.h

Issue 2024603002: [Autofill] Register AutofillDriver mojo interface earlier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybot failure Created 4 years, 7 months 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/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 84973c6241ed9004605a8a87fda37606cb472fb7..f2a233e72e2d7364395aedbf2b8a5ba664727ee5 100644
--- a/components/autofill/content/browser/content_autofill_driver_factory.h
+++ b/components/autofill/content/browser/content_autofill_driver_factory.h
@@ -10,6 +10,7 @@
#include <string>
#include "base/supports_user_data.h"
+#include "components/autofill/content/public/interfaces/autofill_driver.mojom.h"
#include "components/autofill/core/browser/autofill_manager.h"
#include "content/public/browser/web_contents_observer.h"
@@ -40,6 +41,8 @@ class ContentAutofillDriverFactory : public content::WebContentsObserver,
AutofillManager::AutofillDownloadManagerState enable_download_manager);
static ContentAutofillDriverFactory* FromWebContents(
content::WebContents* contents);
+ static void BindAutofillDriver(content::RenderFrameHost* render_frame_host,
+ mojom::AutofillDriverRequest request);
// Gets the |ContentAutofillDriver| associated with |render_frame_host|.
// |render_frame_host| must be owned by |web_contents()|.

Powered by Google App Engine
This is Rietveld 408576698