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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
500 repeated string alternate_extensions = 35; | 500 repeated string alternate_extensions = 35; |
501 | 501 |
502 // URLs transitions from landing referrer to download in reverse chronological | 502 // URLs transitions from landing referrer to download in reverse chronological |
503 // order, i.e. download url comes first in this list, and landing referrer | 503 // order, i.e. download url comes first in this list, and landing referrer |
504 // comes last. | 504 // comes last. |
505 repeated ReferrerChainEntry referrer_chain = 36; | 505 repeated ReferrerChainEntry referrer_chain = 36; |
506 | 506 |
507 // Deprecated. | 507 // Deprecated. |
508 optional bool DEPRECATED_download_attribution_finch_enabled = 39 | 508 optional bool DEPRECATED_download_attribution_finch_enabled = 39 |
509 [deprecated = true]; | 509 [deprecated = true]; |
510 | |
511 optional bytes udif_code_signature = 40; | |
Robert Sesek
2017/06/28 18:21:06
Comment?
mortonm
2017/06/28 23:07:09
Done.
| |
510 } | 512 } |
511 | 513 |
512 // Please update SafeBrowsingNavigationObserverManager::SanitizeReferrerChain() | 514 // Please update SafeBrowsingNavigationObserverManager::SanitizeReferrerChain() |
513 // if you're adding more fields to this message. | 515 // if you're adding more fields to this message. |
514 message ReferrerChainEntry { | 516 message ReferrerChainEntry { |
515 enum URLType { | 517 enum URLType { |
516 // URL of safe browsing events that are at the end of the referrer chain. | 518 // URL of safe browsing events that are at the end of the referrer chain. |
517 // e.g. URL of a download, URL of a low reputation login page, etc. | 519 // e.g. URL of a download, URL of a low reputation login page, etc. |
518 EVENT_URL = 1; // e.g. | 520 EVENT_URL = 1; // e.g. |
519 | 521 |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1066 // There is no response (an empty body) to this request. | 1068 // There is no response (an empty body) to this request. |
1067 message NotificationImageReportRequest { | 1069 message NotificationImageReportRequest { |
1068 optional string notification_origin = 1; // Src-origin of the notification. | 1070 optional string notification_origin = 1; // Src-origin of the notification. |
1069 optional ImageData image = 2; // The bitmap of the image. | 1071 optional ImageData image = 2; // The bitmap of the image. |
1070 | 1072 |
1071 // Note that the image URL is deliberately omitted as it would be untrusted, | 1073 // Note that the image URL is deliberately omitted as it would be untrusted, |
1072 // since the notification image fetch may be intercepted by a Service Worker | 1074 // since the notification image fetch may be intercepted by a Service Worker |
1073 // (even if the image URL is cross-origin). Otherwise a website could mislead | 1075 // (even if the image URL is cross-origin). Otherwise a website could mislead |
1074 // Safe Browsing into associating phishing image bitmaps with safe image URLs. | 1076 // Safe Browsing into associating phishing image bitmaps with safe image URLs. |
1075 } | 1077 } |
OLD | NEW |