| Index: components/autofill/content/public/interfaces/autofill_agent.mojom
|
| diff --git a/components/autofill/content/public/interfaces/autofill_agent.mojom b/components/autofill/content/public/interfaces/autofill_agent.mojom
|
| index cbdb78d379c184a29db9dac036d107da495c7baa..c0b6e3ed343bd036a8d03d736a0ea448043410d2 100644
|
| --- a/components/autofill/content/public/interfaces/autofill_agent.mojom
|
| +++ b/components/autofill/content/public/interfaces/autofill_agent.mojom
|
| @@ -5,6 +5,7 @@
|
| module autofill.mojom;
|
|
|
| import "components/autofill/content/public/interfaces/autofill_types.mojom";
|
| +import "mojo/common/common_custom_types.mojom";
|
|
|
| // There is one instance of this interface per render frame in the render
|
| // process.
|
| @@ -31,24 +32,27 @@ interface AutofillAgent {
|
| ClearPreviewedForm();
|
|
|
| // Sets the currently selected node's value.
|
| - FillFieldWithValue(string value);
|
| + FillFieldWithValue(mojo.common.mojom.String16 value);
|
|
|
| // Sets the suggested value for the currently previewed node.
|
| - PreviewFieldWithValue(string value);
|
| + PreviewFieldWithValue(mojo.common.mojom.String16 value);
|
|
|
| // Sets the currently selected node's value to be the given data list value.
|
| - AcceptDataListSuggestion(string value);
|
| + AcceptDataListSuggestion(mojo.common.mojom.String16 value);
|
|
|
| // Tells the renderer to fill the username and password with with given
|
| // values.
|
| - FillPasswordSuggestion(string username, string password);
|
| + FillPasswordSuggestion(mojo.common.mojom.String16 username,
|
| + mojo.common.mojom.String16 password);
|
|
|
| // Tells the renderer to preview the username and password with the given
|
| // values.
|
| - PreviewPasswordSuggestion(string username, string password);
|
| + PreviewPasswordSuggestion(mojo.common.mojom.String16 username,
|
| + mojo.common.mojom.String16 password);
|
|
|
| // Sent when a password form is initially detected and suggestions should be
|
| // shown. Used by the fill-on-select experiment.
|
| // |key| is the unique id associated with the password form fill data.
|
| - ShowInitialPasswordAccountSuggestions(int32 key, PasswordFormFillData form_data);
|
| + ShowInitialPasswordAccountSuggestions(int32 key,
|
| + PasswordFormFillData form_data);
|
| };
|
|
|