Chromium Code Reviews| 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: 17 | 37 // Next available id: 18 |
| 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 17 matching lines...) Expand all Loading... | |
| 65 | 65 |
| 66 // The value of the autocomplete attribute on the field, if present. | 66 // The value of the autocomplete attribute on the field, if present. |
| 67 optional string autocomplete = 9; | 67 optional string autocomplete = 9; |
| 68 | 68 |
| 69 // The type of input control for this field (e.g. text, textarea, email). | 69 // The type of input control for this field (e.g. text, textarea, email). |
| 70 optional string type = 10; | 70 optional string type = 10; |
| 71 | 71 |
| 72 // The label that is used alongside the field. Its value is truncated at | 72 // The label that is used alongside the field. Its value is truncated at |
| 73 // 200 characters. | 73 // 200 characters. |
| 74 optional string label = 11; | 74 optional string label = 11; |
| 75 | |
| 76 // The type of password generation, if it happened. | |
| 77 optional fixed32 generation_event = 17; | |
|
vabr (Chromium)
2016/02/17 13:43:22
I'd like mathp@ to check if this looks like a good
Mathieu
2016/02/17 15:57:26
I would prefer the enum PasswordGenerationEvent to
dvadym
2016/02/19 16:25:05
Thanks, I've introduced an enum.
| |
| 75 } | 78 } |
| 76 // Signature of the form action host (e.g. Hash64Bit("example.com")). | 79 // Signature of the form action host (e.g. Hash64Bit("example.com")). |
| 77 optional fixed64 action_signature = 13; | 80 optional fixed64 action_signature = 13; |
| 78 | 81 |
| 79 // Signature of the form which is used for password generation debugging. | 82 // Signature of the form which is used for password generation debugging. |
| 80 // Currently is used when password generated on a password field of a | 83 // Currently is used when password generated on a password field of a |
| 81 // registration form is used on a password field of a login form. | 84 // registration form is used on a password field of a login form. |
| 82 optional fixed64 login_form_signature = 14; | 85 optional fixed64 login_form_signature = 14; |
| 83 | 86 |
| 84 // Whether a form submission event was observed. | 87 // Whether a form submission event was observed. |
| 85 optional bool submission = 15; | 88 optional bool submission = 15; |
| 86 | 89 |
| 87 // The form name. | 90 // The form name. |
| 88 optional string form_name = 16; | 91 optional string form_name = 16; |
| 89 } | 92 } |
|
vabr (Chromium)
2016/02/17 13:43:22
nit: Do you know what is the change on this line?
dvadym
2016/02/19 16:25:05
I didn't do any changes and I don't see any reason
| |
| OLD | NEW |