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

Side by Side Diff: components/autofill/core/browser/proto/server.proto

Issue 2937033002: [Password Generation] Send a boolean flag of whether user changed generated password (Closed)
Patch Set: Changes addressed to vabr@ comments Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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 15 matching lines...) Expand all
26 // This message is the result of an Autofill query. It holds the field type 26 // This message is the result of an Autofill query. It holds the field type
27 // information. 27 // information.
28 // Next available id: 7 28 // Next available id: 7
29 message AutofillQueryResponseContents { 29 message AutofillQueryResponseContents {
30 optional bool upload_required = 1; 30 optional bool upload_required = 1;
31 repeated group Field = 2 { required fixed32 autofill_type = 3; } 31 repeated group Field = 2 { required fixed32 autofill_type = 3; }
32 } 32 }
33 33
34 // This message contains information about the field types in a single form. 34 // This message contains information about the field types in a single form.
35 // It is sent by the toolbar to contribute to the field type statistics. 35 // It is sent by the toolbar to contribute to the field type statistics.
36 // Next available id: 22 36 // Next available id: 23
37 message AutofillUploadContents { 37 message AutofillUploadContents {
38 required string client_version = 1; 38 required string client_version = 1;
39 required fixed64 form_signature = 2; 39 required fixed64 form_signature = 2;
40 40
41 // True if the autofill feature was used to fill this form, false otherwise. 41 // True if the autofill feature was used to fill this form, false otherwise.
42 required bool autofill_used = 3; 42 required bool autofill_used = 3;
43 43
44 // A string representing a bit array of what personal information items 44 // A string representing a bit array of what personal information items
45 // the user has entered in the autofill settings dialog. 45 // the user has entered in the autofill settings dialog.
46 // The corresponding bit is set if the user has that particular 46 // The corresponding bit is set if the user has that particular
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // The value of the class attribute on the field, if present. 91 // The value of the class attribute on the field, if present.
92 optional string css_classes = 19; 92 optional string css_classes = 19;
93 93
94 // The properties mask (i.e. whether the field was autofilled, user 94 // The properties mask (i.e. whether the field was autofilled, user
95 // modified, etc.) See FieldPropertiesFlags. 95 // modified, etc.) See FieldPropertiesFlags.
96 optional uint32 properties_mask = 20; 96 optional uint32 properties_mask = 20;
97 97
98 // The value of the id attribute, if it differs from the name attribute. 98 // The value of the id attribute, if it differs from the name attribute.
99 // Otherwise, this field is absent. 99 // Otherwise, this field is absent.
100 optional string id = 21; 100 optional string id = 21;
101
102 // True iff the user changed generated password. If there was no generation,
103 // the field is absent.
104 optional bool generated_password_changed = 22;
101 } 105 }
102 // Signature of the form action host (e.g. Hash64Bit("example.com")). 106 // Signature of the form action host (e.g. Hash64Bit("example.com")).
103 optional fixed64 action_signature = 13; 107 optional fixed64 action_signature = 13;
104 108
105 // Signature of the form which is used for password generation debugging. 109 // Signature of the form which is used for password generation debugging.
106 // Currently is used when password generated on a password field of a 110 // Currently is used when password generated on a password field of a
107 // registration form is used on a password field of a login form. 111 // registration form is used on a password field of a login form.
108 optional fixed64 login_form_signature = 14; 112 optional fixed64 login_form_signature = 14;
109 113
110 // Whether a form submission event was observed. 114 // Whether a form submission event was observed.
111 optional bool submission = 15; 115 optional bool submission = 15;
112 116
113 // The form name. 117 // The form name.
114 optional string form_name = 16; 118 optional string form_name = 16;
115 } 119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698