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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 } | 482 } |
483 message ResourceRequestIncident { | 483 message ResourceRequestIncident { |
484 enum Type { | 484 enum Type { |
485 UNKNOWN = 0; | 485 UNKNOWN = 0; |
486 TYPE_PATTERN = 3; | 486 TYPE_PATTERN = 3; |
487 } | 487 } |
488 optional bytes digest = 1; | 488 optional bytes digest = 1; |
489 optional string origin = 2; | 489 optional string origin = 2; |
490 optional Type type = 3 [default = UNKNOWN]; | 490 optional Type type = 3 [default = UNKNOWN]; |
491 } | 491 } |
| 492 message SuspiciousModuleIncident { |
| 493 optional string path = 1; |
| 494 optional ClientDownloadRequest.Digests digest = 2; |
| 495 optional string version = 3; |
| 496 optional ClientDownloadRequest.SignatureInfo signature = 4; |
| 497 optional ClientDownloadRequest.ImageHeaders image_headers = 5; |
| 498 } |
492 optional int64 incident_time_msec = 1; | 499 optional int64 incident_time_msec = 1; |
493 optional TrackedPreferenceIncident tracked_preference = 2; | 500 optional TrackedPreferenceIncident tracked_preference = 2; |
494 optional BinaryIntegrityIncident binary_integrity = 3; | 501 optional BinaryIntegrityIncident binary_integrity = 3; |
495 optional BlacklistLoadIncident blacklist_load = 4; | 502 optional BlacklistLoadIncident blacklist_load = 4; |
496 // Note: skip tag 5 because it was previously used. | 503 // Note: skip tag 5 because it was previously used. |
497 optional VariationsSeedSignatureIncident variations_seed_signature = 6; | 504 optional VariationsSeedSignatureIncident variations_seed_signature = 6; |
498 optional ResourceRequestIncident resource_request = 7; | 505 optional ResourceRequestIncident resource_request = 7; |
| 506 optional SuspiciousModuleIncident suspicious_module = 8; |
499 } | 507 } |
500 | 508 |
501 repeated IncidentData incident = 1; | 509 repeated IncidentData incident = 1; |
502 | 510 |
503 message DownloadDetails { | 511 message DownloadDetails { |
504 optional bytes token = 1; | 512 optional bytes token = 1; |
505 optional ClientDownloadRequest download = 2; | 513 optional ClientDownloadRequest download = 2; |
506 optional int64 download_time_msec = 3; | 514 optional int64 download_time_msec = 3; |
507 optional int64 open_time_msec = 4; | 515 optional int64 open_time_msec = 4; |
508 } | 516 } |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 // csd_frontend | 759 // csd_frontend |
752 repeated string client_asn = 6; | 760 repeated string client_asn = 6; |
753 optional string client_country = 7; | 761 optional string client_country = 7; |
754 | 762 |
755 // Whether user chose to proceed. | 763 // Whether user chose to proceed. |
756 optional bool did_proceed = 8; | 764 optional bool did_proceed = 8; |
757 | 765 |
758 // Whether user visited this origin before. | 766 // Whether user visited this origin before. |
759 optional bool repeat_visit = 9; | 767 optional bool repeat_visit = 9; |
760 } | 768 } |
OLD | NEW |