OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This proto file includes: | 5 // This proto file includes: |
6 // (1) Client side phishing and malware detection request and response | 6 // (1) Client side phishing and malware detection request and response |
7 // protocol buffers. Those protocol messages should be kept in sync | 7 // protocol buffers. Those protocol messages should be kept in sync |
8 // with the server implementation. | 8 // with the server implementation. |
9 // | 9 // |
10 // (2) Safe Browsing reporting protocol buffers. | 10 // (2) Safe Browsing reporting protocol buffers. |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // Whether the form contains password field. | 201 // Whether the form contains password field. |
202 optional bool has_password_field = 2; | 202 optional bool has_password_field = 2; |
203 } | 203 } |
204 | 204 |
205 repeated Form forms = 6; | 205 repeated Form forms = 6; |
206 } | 206 } |
207 | 207 |
208 repeated Frame frames = 3; | 208 repeated Frame frames = 3; |
209 | 209 |
210 // The message contains fields needed for a password reuse event. | 210 // The message contains fields needed for a password reuse event. |
| 211 // Next tag: 4 |
211 message PasswordReuseEvent { | 212 message PasswordReuseEvent { |
212 // Origins that the reused password had been used on. The origins are | 213 reserved 1; |
213 // maintained by Chrome password manager. | |
214 // The field is filled in only when TriggerType is PASSWORD_REUSE_EVENT. | |
215 repeated string password_reused_original_origins = 1; | |
216 | 214 |
217 // The frame that the password reuse is detected. | 215 // The frame that the password reuse is detected. |
218 optional int32 frame_id = 2; | 216 optional int32 frame_id = 2; |
| 217 |
| 218 // Whether the reused password is used for Chrome signin. |
| 219 optional bool is_chrome_signin_password = 3; |
219 } | 220 } |
220 | 221 |
221 optional PasswordReuseEvent password_reuse_event = 4; | 222 optional PasswordReuseEvent password_reuse_event = 4; |
222 | 223 |
223 // The number of verdicts stored on the client. | 224 // The number of verdicts stored on the client. |
224 optional int32 stored_verdict_cnt = 5; | 225 optional int32 stored_verdict_cnt = 5; |
225 | 226 |
226 // Chrome user population. | 227 // Chrome user population. |
227 optional ChromeUserPopulation population = 6; | 228 optional ChromeUserPopulation population = 6; |
228 } | 229 } |
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 // There is no response (an empty body) to this request. | 1036 // There is no response (an empty body) to this request. |
1036 message NotificationImageReportRequest { | 1037 message NotificationImageReportRequest { |
1037 optional string notification_origin = 1; // Src-origin of the notification. | 1038 optional string notification_origin = 1; // Src-origin of the notification. |
1038 optional ImageData image = 2; // The bitmap of the image. | 1039 optional ImageData image = 2; // The bitmap of the image. |
1039 | 1040 |
1040 // Note that the image URL is deliberately omitted as it would be untrusted, | 1041 // Note that the image URL is deliberately omitted as it would be untrusted, |
1041 // since the notification image fetch may be intercepted by a Service Worker | 1042 // since the notification image fetch may be intercepted by a Service Worker |
1042 // (even if the image URL is cross-origin). Otherwise a website could mislead | 1043 // (even if the image URL is cross-origin). Otherwise a website could mislead |
1043 // Safe Browsing into associating phishing image bitmaps with safe image URLs. | 1044 // Safe Browsing into associating phishing image bitmaps with safe image URLs. |
1044 } | 1045 } |
OLD | NEW |