| 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 70ee882d4df9a6d163109cb6e47eafcc2c2abfff..562a8b42e6caa6088dba21c92035a5ada2b14761 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
|
|
|