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 5e99165473eba858f9991024cd5531a7543769c6..c0b6e3ed343bd036a8d03d736a0ea448043410d2 100644 |
--- a/components/autofill/content/public/interfaces/autofill_agent.mojom |
+++ b/components/autofill/content/public/interfaces/autofill_agent.mojom |
@@ -56,52 +56,3 @@ |
ShowInitialPasswordAccountSuggestions(int32 key, |
PasswordFormFillData form_data); |
}; |
- |
-// There is one instance of this interface per render frame in the render |
-// process. |
-interface PasswordAutofillAgent { |
- // Fills a password form and prepare field autocomplete for multiple |
- // matching logins. Lets the renderer know if it should disable the popup |
- // because the browser process will own the popup UI. |key| serves for |
- // identifying the fill form data in subsequent |
- // ShowPasswordSuggestions messages to the browser. |
- FillPasswordForm(int32 key, PasswordFormFillData form_data); |
- |
- // Notification to start (|active| == true) or stop (|active| == false) |
- // logging the decisions made about saving the password. |
- SetLoggingState(bool active); |
- |
- // Sent when Autofill manager gets the query response from the Autofill server |
- // which contains information about username and password for some forms. |
- // |predictions| maps forms to their username fields. |
- AutofillUsernameAndPasswordDataReceived(FormsPredictionsMap predictions); |
- |
- // Tells the renderer to find the focused password form (assuming it exists). |
- // Renderer is expected to return the found password form. If no password form |
- // is focused, the response will contain an empty |autofill::PasswordForm|. |
- FindFocusedPasswordForm() => (PasswordForm form); |
-}; |
- |
-// There is one instance of this interface per render frame in the render |
-// process. |
-interface PasswordGenerationAgent { |
- // Tells the renderer to populate the correct password fields with this |
- // generated password. |
- GeneratedPasswordAccepted(mojo.common.mojom.String16 generated_password); |
- |
- // Tells the renderer to find a focused element, and if it is a password field |
- // eligible for generation then to trigger generation by responding to the |
- // browser with the message |ShowPasswordGenerationPopup|. |
- UserTriggeredGeneratePassword(); |
- |
- // Tells the renderer that this password form is not blacklisted. A form can |
- // be blacklisted if a user chooses "never save passwords for this site". |
- FormNotBlacklisted(PasswordForm form); |
- |
- // Sent when Autofill manager gets the query response from the Autofill server |
- // and there are fields classified for password generation in the response. |
- FoundFormsEligibleForGeneration(array<PasswordFormGenerationData> forms); |
- |
- // Tells the renderer to enable the form classifier. |
- AllowToRunFormClassifier(); |
-}; |