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

Unified Diff: components/autofill/browser/autofill_external_delegate.cc

Issue 17225008: Eliminate AutofillExternalDelegate being a WebContentsUserData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to review Created 7 years, 6 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/browser/autofill_external_delegate.cc
diff --git a/components/autofill/browser/autofill_external_delegate.cc b/components/autofill/browser/autofill_external_delegate.cc
index d5ac726fb44f465fe6f92de4a748b3f5b2c9f2ff..a2d3cf76ad4751c7f60447e9d350e3855fde82b6 100644
--- a/components/autofill/browser/autofill_external_delegate.cc
+++ b/components/autofill/browser/autofill_external_delegate.cc
@@ -24,21 +24,8 @@
using content::RenderViewHost;
using WebKit::WebAutofillClient;
-DEFINE_WEB_CONTENTS_USER_DATA_KEY(autofill::AutofillExternalDelegate);
-
namespace autofill {
-void AutofillExternalDelegate::CreateForWebContentsAndManager(
- content::WebContents* web_contents,
- AutofillManager* autofill_manager) {
- if (FromWebContents(web_contents))
- return;
-
- web_contents->SetUserData(
- UserDataKey(),
- new AutofillExternalDelegate(web_contents, autofill_manager));
-}
-
AutofillExternalDelegate::AutofillExternalDelegate(
content::WebContents* web_contents,
AutofillManager* autofill_manager)
« no previous file with comments | « components/autofill/browser/autofill_external_delegate.h ('k') | components/autofill/content/browser/autofill_driver_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698