| Index: chrome/browser/autofill/autofill_external_delegate.h
|
| diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h
|
| index d370bb0a9c0d20ac276fae231291387394f3dd92..32611d4682bcaa8ed12abfd61292a0e2ee0b7126 100644
|
| --- a/chrome/browser/autofill/autofill_external_delegate.h
|
| +++ b/chrome/browser/autofill/autofill_external_delegate.h
|
| @@ -127,6 +127,11 @@ class AutofillExternalDelegate
|
|
|
| AutofillPopupControllerImpl* controller() { return controller_; }
|
|
|
| + // For testing purposes only.
|
| + void set_controller(base::WeakPtr<AutofillPopupControllerImpl> controller) {
|
| + controller_ = controller;
|
| + }
|
| +
|
| private:
|
| // Fills the form with the Autofill data corresponding to |unique_id|.
|
| // If |is_preview| is true then this is just a preview to show the user what
|
|
|