| Index: chrome/browser/autofill/autofill_manager.h
|
| diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h
|
| index b48309766fb7d74bbcfc3e27a16f746c759b093b..7960f43ed868b1838a0e3a459f4c92cd1b300e05 100644
|
| --- a/chrome/browser/autofill/autofill_manager.h
|
| +++ b/chrome/browser/autofill/autofill_manager.h
|
| @@ -40,6 +40,10 @@ class TabContentsWrapper;
|
|
|
| struct ViewHostMsg_FrameNavigate_Params;
|
|
|
| +namespace autofill {
|
| +class PasswordGenerator;
|
| +}
|
| +
|
| namespace content {
|
| class RenderViewHost;
|
| }
|
| @@ -93,7 +97,7 @@ class AutofillManager : public content::NotificationObserver,
|
| void OnDidFillAutofillFormData(const base::TimeTicks& timestamp);
|
| void OnShowAutofillDialog();
|
| void OnDidPreviewAutofillFormData();
|
| - void OnShowPasswordGenerationPopup(const gfx::Rect& bounds);
|
| + void OnShowPasswordGenerationPopup(const gfx::Rect& bounds, int max_length);
|
|
|
| // Remove the credit card or Autofill profile that matches |unique_id|
|
| // from the database.
|
| @@ -358,6 +362,8 @@ class AutofillManager : public content::NotificationObserver,
|
| base::WeakPtr<ProfileSyncService> sync_service_;
|
| // Listens for changes to the 'enabled' state for password generation.
|
| PrefChangeRegistrar registrar_;
|
| + // To be passed to the password generation UI to generate the password.
|
| + scoped_ptr<autofill::PasswordGenerator> password_generator_;
|
|
|
| // Our copy of the form data.
|
| ScopedVector<FormStructure> form_structures_;
|
|
|