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

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

Issue 2821163002: Clean up DownloadAttribution Finch experiments (Closed)
Patch Set: nits Created 3 years, 8 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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 // PPAPI_SAVE_REQUEST type messages may have more than one suggested filetype. 482 // PPAPI_SAVE_REQUEST type messages may have more than one suggested filetype.
483 // Each element in this collection indicates an alternate extension including 483 // Each element in this collection indicates an alternate extension including
484 // the leading extension separator. 484 // the leading extension separator.
485 repeated string alternate_extensions = 35; 485 repeated string alternate_extensions = 35;
486 486
487 // URLs transitions from landing referrer to download in reverse chronological 487 // URLs transitions from landing referrer to download in reverse chronological
488 // order, i.e. download url comes first in this list, and landing referrer 488 // order, i.e. download url comes first in this list, and landing referrer
489 // comes last. 489 // comes last.
490 repeated ReferrerChainEntry referrer_chain = 36; 490 repeated ReferrerChainEntry referrer_chain = 36;
491 491
492 // Whether DownloadAttribution Finch experiment is enabled for this ping. 492 // Whether DownloadAttribution Finch experiment is enabled for this ping.
lpz 2017/04/20 14:37:02 nit: if deprecated, maybe the legacy comment can b
Jialiu Lin 2017/04/20 18:02:56 Done.
493 optional bool download_attribution_finch_enabled = 39; 493 // Deprecated.
494 optional bool DEPRECATED_download_attribution_finch_enabled = 39
495 [deprecated = true];
494 } 496 }
495 497
496 message ReferrerChainEntry { 498 message ReferrerChainEntry {
497 enum URLType { 499 enum URLType {
498 // URL of safe browsing events that are at the end of the referrer chain. 500 // URL of safe browsing events that are at the end of the referrer chain.
499 // e.g. URL of a download, URL of a low reputation login page, etc. 501 // e.g. URL of a download, URL of a low reputation login page, etc.
500 EVENT_URL = 1; // e.g. 502 EVENT_URL = 1; // e.g.
501 503
502 // Landing page is the page user directly interacts with to trigger the 504 // Landing page is the page user directly interacts with to trigger the
503 // above event, e.g. the page where user clicks a download button. 505 // above event, e.g. the page where user clicks a download button.
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 // There is no response (an empty body) to this request. 1025 // There is no response (an empty body) to this request.
1024 message NotificationImageReportRequest { 1026 message NotificationImageReportRequest {
1025 optional string notification_origin = 1; // Src-origin of the notification. 1027 optional string notification_origin = 1; // Src-origin of the notification.
1026 optional ImageData image = 2; // The bitmap of the image. 1028 optional ImageData image = 2; // The bitmap of the image.
1027 1029
1028 // Note that the image URL is deliberately omitted as it would be untrusted, 1030 // Note that the image URL is deliberately omitted as it would be untrusted,
1029 // since the notification image fetch may be intercepted by a Service Worker 1031 // since the notification image fetch may be intercepted by a Service Worker
1030 // (even if the image URL is cross-origin). Otherwise a website could mislead 1032 // (even if the image URL is cross-origin). Otherwise a website could mislead
1031 // Safe Browsing into associating phishing image bitmaps with safe image URLs. 1033 // Safe Browsing into associating phishing image bitmaps with safe image URLs.
1032 } 1034 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698