| Index: components/autofill/browser/autofill_external_delegate.h
|
| diff --git a/components/autofill/browser/autofill_external_delegate.h b/components/autofill/browser/autofill_external_delegate.h
|
| index 57a4b8e3faa84410ac8b440fa1239258191435fb..1d7ff603af919ef34adcc0fc4fc3d4600e11c4f7 100644
|
| --- a/components/autofill/browser/autofill_external_delegate.h
|
| +++ b/components/autofill/browser/autofill_external_delegate.h
|
| @@ -12,12 +12,17 @@
|
| #include "base/string16.h"
|
| #include "components/autofill/browser/autofill_popup_delegate.h"
|
| #include "components/autofill/browser/password_autofill_manager.h"
|
| +#include "components/autofill/common/autofill_export.h"
|
| #include "components/autofill/common/form_data.h"
|
| #include "components/autofill/common/form_field_data.h"
|
| #include "components/autofill/common/password_form_fill_data.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| +
|
| +#define EXPORT_WEB_CONTENT_USER_DATA
|
| #include "content/public/browser/web_contents_user_data.h"
|
| +#undef EXPORT_WEB_CONTENT_USER_DATA
|
| +
|
| #include "ui/gfx/rect.h"
|
|
|
| namespace gfx {
|
| @@ -37,7 +42,7 @@ class AutofillManager;
|
| // this logic. See http://crbug.com/51644
|
|
|
| // Delegate for in-browser Autocomplete and Autofill display and selection.
|
| -class AutofillExternalDelegate
|
| +class AUTOFILL_EXPORT AutofillExternalDelegate
|
| : public content::WebContentsUserData<AutofillExternalDelegate>,
|
| public content::NotificationObserver,
|
| public AutofillPopupDelegate {
|
| @@ -109,6 +114,12 @@ class AutofillExternalDelegate
|
| friend class content::WebContentsUserData<AutofillExternalDelegate>;
|
| AutofillExternalDelegate(content::WebContents* web_contents,
|
| AutofillManager* autofill_manager);
|
| +
|
| + // Never use this constructor. It's only for preventing compiling errors (
|
| + // WebContentsUserData requires a constructor with a single WebContents
|
| + // parameter).
|
| + explicit AutofillExternalDelegate(content::WebContents* web_contents);
|
| +
|
| virtual ~AutofillExternalDelegate();
|
|
|
| content::WebContents* web_contents() { return web_contents_; }
|
|
|