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

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

Issue 2934373002: Record Code Signature of Downloaded DMG files (Closed)
Patch Set: adjusted test file path names 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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 repeated string alternate_extensions = 35; 501 repeated string alternate_extensions = 35;
502 502
503 // URLs transitions from landing referrer to download in reverse chronological 503 // URLs transitions from landing referrer to download in reverse chronological
504 // order, i.e. download url comes first in this list, and landing referrer 504 // order, i.e. download url comes first in this list, and landing referrer
505 // comes last. 505 // comes last.
506 repeated ReferrerChainEntry referrer_chain = 36; 506 repeated ReferrerChainEntry referrer_chain = 36;
507 507
508 // Deprecated. 508 // Deprecated.
509 optional bool DEPRECATED_download_attribution_finch_enabled = 39 509 optional bool DEPRECATED_download_attribution_finch_enabled = 39
510 [deprecated = true]; 510 [deprecated = true];
511
512 optional bytes udif_code_signature = 40;
511 } 513 }
512 514
513 message ReferrerChainEntry { 515 message ReferrerChainEntry {
514 enum URLType { 516 enum URLType {
515 // URL of safe browsing events that are at the end of the referrer chain. 517 // URL of safe browsing events that are at the end of the referrer chain.
516 // e.g. URL of a download, URL of a low reputation login page, etc. 518 // e.g. URL of a download, URL of a low reputation login page, etc.
517 EVENT_URL = 1; // e.g. 519 EVENT_URL = 1; // e.g.
518 520
519 // Landing page is the page user directly interacts with to trigger the 521 // Landing page is the page user directly interacts with to trigger the
520 // above event, e.g. the page where user clicks a download button. 522 // above event, e.g. the page where user clicks a download button.
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 // There is no response (an empty body) to this request. 1044 // There is no response (an empty body) to this request.
1043 message NotificationImageReportRequest { 1045 message NotificationImageReportRequest {
1044 optional string notification_origin = 1; // Src-origin of the notification. 1046 optional string notification_origin = 1; // Src-origin of the notification.
1045 optional ImageData image = 2; // The bitmap of the image. 1047 optional ImageData image = 2; // The bitmap of the image.
1046 1048
1047 // Note that the image URL is deliberately omitted as it would be untrusted, 1049 // Note that the image URL is deliberately omitted as it would be untrusted,
1048 // since the notification image fetch may be intercepted by a Service Worker 1050 // since the notification image fetch may be intercepted by a Service Worker
1049 // (even if the image URL is cross-origin). Otherwise a website could mislead 1051 // (even if the image URL is cross-origin). Otherwise a website could mislead
1050 // Safe Browsing into associating phishing image bitmaps with safe image URLs. 1052 // Safe Browsing into associating phishing image bitmaps with safe image URLs.
1051 } 1053 }
OLDNEW
« chrome/utility/safe_browsing/mac/udif.cc ('K') | « chrome/utility/safe_browsing/mac/udif.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698