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

Side by Side Diff: components/safe_browsing/csd.proto

Issue 2934373002: Record Code Signature of Downloaded DMG files (Closed)
Patch Set: addressing comment Created 3 years, 5 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 (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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 repeated string alternate_extensions = 35; 513 repeated string alternate_extensions = 35;
514 514
515 // URLs transitions from landing referrer to download in reverse chronological 515 // URLs transitions from landing referrer to download in reverse chronological
516 // order, i.e. download url comes first in this list, and landing referrer 516 // order, i.e. download url comes first in this list, and landing referrer
517 // comes last. 517 // comes last.
518 repeated ReferrerChainEntry referrer_chain = 36; 518 repeated ReferrerChainEntry referrer_chain = 36;
519 519
520 // Deprecated. 520 // Deprecated.
521 optional bool DEPRECATED_download_attribution_finch_enabled = 39 521 optional bool DEPRECATED_download_attribution_finch_enabled = 39
522 [deprecated = true]; 522 [deprecated = true];
523
524 // The Mac disk image code signature.
525 // The underlying structure of code signature is defined at
526 // https://opensource.apple.com/source/xnu/xnu-2782.1.97/bsd/sys/codesign.h
527 optional bytes udif_code_signature = 40;
523 } 528 }
524 529
525 // Please update SafeBrowsingNavigationObserverManager::SanitizeReferrerChain() 530 // Please update SafeBrowsingNavigationObserverManager::SanitizeReferrerChain()
526 // if you're adding more fields to this message. 531 // if you're adding more fields to this message.
527 message ReferrerChainEntry { 532 message ReferrerChainEntry {
528 enum URLType { 533 enum URLType {
529 // URL of safe browsing events that are at the end of the referrer chain. 534 // URL of safe browsing events that are at the end of the referrer chain.
530 // e.g. URL of a download, URL of a low reputation login page, etc. 535 // e.g. URL of a download, URL of a low reputation login page, etc.
531 EVENT_URL = 1; // e.g. 536 EVENT_URL = 1; // e.g.
532 537
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 // There is no response (an empty body) to this request. 1084 // There is no response (an empty body) to this request.
1080 message NotificationImageReportRequest { 1085 message NotificationImageReportRequest {
1081 optional string notification_origin = 1; // Src-origin of the notification. 1086 optional string notification_origin = 1; // Src-origin of the notification.
1082 optional ImageData image = 2; // The bitmap of the image. 1087 optional ImageData image = 2; // The bitmap of the image.
1083 1088
1084 // Note that the image URL is deliberately omitted as it would be untrusted, 1089 // Note that the image URL is deliberately omitted as it would be untrusted,
1085 // since the notification image fetch may be intercepted by a Service Worker 1090 // since the notification image fetch may be intercepted by a Service Worker
1086 // (even if the image URL is cross-origin). Otherwise a website could mislead 1091 // (even if the image URL is cross-origin). Otherwise a website could mislead
1087 // Safe Browsing into associating phishing image bitmaps with safe image URLs. 1092 // Safe Browsing into associating phishing image bitmaps with safe image URLs.
1088 } 1093 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698