| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 package autofill; | 9 package autofill; |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 // This message is the result of an Autofill query. It holds the field type | 27 // This message is the result of an Autofill query. It holds the field type |
| 28 // information. | 28 // information. |
| 29 // Next available id: 7 | 29 // Next available id: 7 |
| 30 message AutofillQueryResponseContents { | 30 message AutofillQueryResponseContents { |
| 31 optional bool upload_required = 1; | 31 optional bool upload_required = 1; |
| 32 repeated group Field = 2 { required fixed32 autofill_type = 3; } | 32 repeated group Field = 2 { required fixed32 autofill_type = 3; } |
| 33 } | 33 } |
| 34 | 34 |
| 35 // This message contains information about the field types in a single form. | 35 // This message contains information about the field types in a single form. |
| 36 // It is sent by the toolbar to contribute to the field type statistics. | 36 // It is sent by the toolbar to contribute to the field type statistics. |
| 37 // Next available id: 18 | 37 // Next available id: 19 |
| 38 message AutofillUploadContents { | 38 message AutofillUploadContents { |
| 39 required string client_version = 1; | 39 required string client_version = 1; |
| 40 required fixed64 form_signature = 2; | 40 required fixed64 form_signature = 2; |
| 41 | 41 |
| 42 // True if the autofill feature was used to fill this form, false otherwise. | 42 // True if the autofill feature was used to fill this form, false otherwise. |
| 43 required bool autofill_used = 3; | 43 required bool autofill_used = 3; |
| 44 | 44 |
| 45 // A string representing a bit array of what personal information items | 45 // A string representing a bit array of what personal information items |
| 46 // the user has entered in the autofill settings dialog. | 46 // the user has entered in the autofill settings dialog. |
| 47 // The corresponding bit is set if the user has that particular | 47 // The corresponding bit is set if the user has that particular |
| (...skipping 28 matching lines...) Expand all Loading... |
| 76 enum PasswordGenerationType { | 76 enum PasswordGenerationType { |
| 77 NO_GENERATION = 0; | 77 NO_GENERATION = 0; |
| 78 AUTOMATICALLY_TRIGGERED_GENERATION_ON_SIGN_UP_FORM = 1; | 78 AUTOMATICALLY_TRIGGERED_GENERATION_ON_SIGN_UP_FORM = 1; |
| 79 AUTOMATICALLY_TRIGGERED_GENERATION_ON_CHANGE_PASSWORD_FORM = 2; | 79 AUTOMATICALLY_TRIGGERED_GENERATION_ON_CHANGE_PASSWORD_FORM = 2; |
| 80 MANUALLY_TRIGGERED_GENERATION_ON_SIGN_UP_FORM = 3; | 80 MANUALLY_TRIGGERED_GENERATION_ON_SIGN_UP_FORM = 3; |
| 81 MANUALLY_TRIGGERED_GENERATION_ON_CHANGE_PASSWORD_FORM = 4; | 81 MANUALLY_TRIGGERED_GENERATION_ON_CHANGE_PASSWORD_FORM = 4; |
| 82 IGNORED_GENERATION_POPUP = 5; | 82 IGNORED_GENERATION_POPUP = 5; |
| 83 } | 83 } |
| 84 // The type of password generation, if it happened. | 84 // The type of password generation, if it happened. |
| 85 optional PasswordGenerationType generation_type = 17; | 85 optional PasswordGenerationType generation_type = 17; |
| 86 |
| 87 enum FormClassifierOutcome { |
| 88 NO_OUTCOME = 0; |
| 89 NON_GENERATION_ELEMENT = 1; |
| 90 GENERATION_ELEMENT = 2; |
| 91 } |
| 92 // The outcome of HTML parsing based form classifier. |
| 93 optional FormClassifierOutcome form_classifier_outcome = 18; |
| 86 } | 94 } |
| 87 // Signature of the form action host (e.g. Hash64Bit("example.com")). | 95 // Signature of the form action host (e.g. Hash64Bit("example.com")). |
| 88 optional fixed64 action_signature = 13; | 96 optional fixed64 action_signature = 13; |
| 89 | 97 |
| 90 // Signature of the form which is used for password generation debugging. | 98 // Signature of the form which is used for password generation debugging. |
| 91 // Currently is used when password generated on a password field of a | 99 // Currently is used when password generated on a password field of a |
| 92 // registration form is used on a password field of a login form. | 100 // registration form is used on a password field of a login form. |
| 93 optional fixed64 login_form_signature = 14; | 101 optional fixed64 login_form_signature = 14; |
| 94 | 102 |
| 95 // Whether a form submission event was observed. | 103 // Whether a form submission event was observed. |
| 96 optional bool submission = 15; | 104 optional bool submission = 15; |
| 97 | 105 |
| 98 // The form name. | 106 // The form name. |
| 99 optional string form_name = 16; | 107 optional string form_name = 16; |
| 100 } | 108 } |
| OLD | NEW |