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

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

Issue 2073093002: [Password Generation] Sends CSS classes inside autofill proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed useless FormStructure recreation in FormStructureTest.EncodeUploadRequest_WithCssClasses Created 4 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 16 matching lines...) Expand all
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: 19 37 // Next available id: 20
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 86
87 enum FormClassifierOutcome { 87 enum FormClassifierOutcome {
88 NO_OUTCOME = 0; 88 NO_OUTCOME = 0;
89 NON_GENERATION_ELEMENT = 1; 89 NON_GENERATION_ELEMENT = 1;
90 GENERATION_ELEMENT = 2; 90 GENERATION_ELEMENT = 2;
91 } 91 }
92 // The outcome of HTML parsing based form classifier. 92 // The outcome of HTML parsing based form classifier.
93 optional FormClassifierOutcome form_classifier_outcome = 18; 93 optional FormClassifierOutcome form_classifier_outcome = 18;
94
95 // The value of the class attribute on the field, if present.
96 optional string css_classes = 19;
94 } 97 }
95 // Signature of the form action host (e.g. Hash64Bit("example.com")). 98 // Signature of the form action host (e.g. Hash64Bit("example.com")).
96 optional fixed64 action_signature = 13; 99 optional fixed64 action_signature = 13;
97 100
98 // Signature of the form which is used for password generation debugging. 101 // Signature of the form which is used for password generation debugging.
99 // Currently is used when password generated on a password field of a 102 // Currently is used when password generated on a password field of a
100 // registration form is used on a password field of a login form. 103 // registration form is used on a password field of a login form.
101 optional fixed64 login_form_signature = 14; 104 optional fixed64 login_form_signature = 14;
102 105
103 // Whether a form submission event was observed. 106 // Whether a form submission event was observed.
104 optional bool submission = 15; 107 optional bool submission = 15;
105 108
106 // The form name. 109 // The form name.
107 optional string form_name = 16; 110 optional string form_name = 16;
108 } 111 }
OLDNEW
« no previous file with comments | « components/autofill/core/browser/form_structure_unittest.cc ('k') | components/autofill/core/common/form_field_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698