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

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

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

Powered by Google App Engine
This is Rietveld 408576698