| 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 // Client side phishing and malware detection request and response | 5 // Client side phishing and malware detection request and response |
| 6 // protocol buffers. Those protocol messages should be kept in sync | 6 // protocol buffers. Those protocol messages should be kept in sync |
| 7 // with the server implementation. | 7 // with the server implementation. |
| 8 // | 8 // |
| 9 // If you want to change this protocol definition or you have questions | 9 // If you want to change this protocol definition or you have questions |
| 10 // regarding its format please contact chrome-anti-phishing@googlegroups.com. | 10 // regarding its format please contact chrome-anti-phishing@googlegroups.com. |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 optional ClientDownloadRequest.Digests digest = 2; | 376 optional ClientDownloadRequest.Digests digest = 2; |
| 377 optional string version = 3; | 377 optional string version = 3; |
| 378 optional bool blacklist_initialized = 4; | 378 optional bool blacklist_initialized = 4; |
| 379 optional ClientDownloadRequest.SignatureInfo signature = 5; | 379 optional ClientDownloadRequest.SignatureInfo signature = 5; |
| 380 optional ClientDownloadRequest.ImageHeaders image_headers = 6; | 380 optional ClientDownloadRequest.ImageHeaders image_headers = 6; |
| 381 } | 381 } |
| 382 message VariationsSeedSignatureIncident { | 382 message VariationsSeedSignatureIncident { |
| 383 optional string variations_seed_signature = 1; | 383 optional string variations_seed_signature = 1; |
| 384 } | 384 } |
| 385 message ScriptRequestIncident { | 385 message ScriptRequestIncident { |
| 386 optional string script_digest = 1; | 386 optional bytes script_digest = 1; |
| 387 optional string inclusion_origin = 2; | 387 optional string inclusion_origin = 2; |
| 388 } | 388 } |
| 389 optional int64 incident_time_msec = 1; | 389 optional int64 incident_time_msec = 1; |
| 390 optional TrackedPreferenceIncident tracked_preference = 2; | 390 optional TrackedPreferenceIncident tracked_preference = 2; |
| 391 optional BinaryIntegrityIncident binary_integrity = 3; | 391 optional BinaryIntegrityIncident binary_integrity = 3; |
| 392 optional BlacklistLoadIncident blacklist_load = 4; | 392 optional BlacklistLoadIncident blacklist_load = 4; |
| 393 // Note: skip tag 5 because it was previously used. | 393 // Note: skip tag 5 because it was previously used. |
| 394 optional VariationsSeedSignatureIncident variations_seed_signature = 6; | 394 optional VariationsSeedSignatureIncident variations_seed_signature = 6; |
| 395 optional ScriptRequestIncident script_request = 7; | 395 optional ScriptRequestIncident script_request = 7; |
| 396 } | 396 } |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 message EnvironmentRequest { optional int32 dll_index = 1; } | 478 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 479 | 479 |
| 480 repeated EnvironmentRequest environment_requests = 3; | 480 repeated EnvironmentRequest environment_requests = 3; |
| 481 } | 481 } |
| 482 | 482 |
| 483 message DownloadMetadata { | 483 message DownloadMetadata { |
| 484 optional uint32 download_id = 1; | 484 optional uint32 download_id = 1; |
| 485 | 485 |
| 486 optional ClientIncidentReport.DownloadDetails download = 2; | 486 optional ClientIncidentReport.DownloadDetails download = 2; |
| 487 } | 487 } |
| OLD | NEW |