Chromium Code Reviews| 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: 3 | |
| 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; |
|
Nathan Parker
2017/05/22 19:50:31
Also add this missing field:
// Whether the reuse
Jialiu Lin
2017/05/22 20:02:41
Done.
| |
| 219 } | 217 } |
| 220 | 218 |
| 221 optional PasswordReuseEvent password_reuse_event = 4; | 219 optional PasswordReuseEvent password_reuse_event = 4; |
| 222 | 220 |
| 223 // The number of verdicts stored on the client. | 221 // The number of verdicts stored on the client. |
| 224 optional int32 stored_verdict_cnt = 5; | 222 optional int32 stored_verdict_cnt = 5; |
| 225 | 223 |
| 226 // Chrome user population. | 224 // Chrome user population. |
| 227 optional ChromeUserPopulation population = 6; | 225 optional ChromeUserPopulation population = 6; |
| 228 } | 226 } |
| (...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1035 // There is no response (an empty body) to this request. | 1033 // There is no response (an empty body) to this request. |
| 1036 message NotificationImageReportRequest { | 1034 message NotificationImageReportRequest { |
| 1037 optional string notification_origin = 1; // Src-origin of the notification. | 1035 optional string notification_origin = 1; // Src-origin of the notification. |
| 1038 optional ImageData image = 2; // The bitmap of the image. | 1036 optional ImageData image = 2; // The bitmap of the image. |
| 1039 | 1037 |
| 1040 // Note that the image URL is deliberately omitted as it would be untrusted, | 1038 // 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 | 1039 // 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 | 1040 // (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. | 1041 // Safe Browsing into associating phishing image bitmaps with safe image URLs. |
| 1044 } | 1042 } |
| OLD | NEW |