Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: components/autofill/content/public/interfaces/autofill_agent.mojom

Issue 2180093002: [Autofill] Switch on use_new_wrapper_types mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nit Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698