| 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 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 // There is no response (an empty body) to this request. | 1007 // There is no response (an empty body) to this request. |
| 1008 message NotificationImageReportRequest { | 1008 message NotificationImageReportRequest { |
| 1009 optional string notification_origin = 1; // Src-origin of the notification. | 1009 optional string notification_origin = 1; // Src-origin of the notification. |
| 1010 optional ImageData image = 2; // The bitmap of the image. | 1010 optional ImageData image = 2; // The bitmap of the image. |
| 1011 | 1011 |
| 1012 // Note that the image URL is deliberately omitted as it would be untrusted, | 1012 // Note that the image URL is deliberately omitted as it would be untrusted, |
| 1013 // since the notification image fetch may be intercepted by a Service Worker | 1013 // since the notification image fetch may be intercepted by a Service Worker |
| 1014 // (even if the image URL is cross-origin). Otherwise a website could mislead | 1014 // (even if the image URL is cross-origin). Otherwise a website could mislead |
| 1015 // Safe Browsing into associating phishing image bitmaps with safe image URLs. | 1015 // Safe Browsing into associating phishing image bitmaps with safe image URLs. |
| 1016 } | 1016 } |
| OLD | NEW |