| 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 optional string path = 1; | 360 optional string path = 1; |
| 361 optional ClientDownloadRequest.Digests digest = 2; | 361 optional ClientDownloadRequest.Digests digest = 2; |
| 362 optional string version = 3; | 362 optional string version = 3; |
| 363 optional bool blacklist_initialized = 4; | 363 optional bool blacklist_initialized = 4; |
| 364 optional ClientDownloadRequest.SignatureInfo signature = 5; | 364 optional ClientDownloadRequest.SignatureInfo signature = 5; |
| 365 optional ClientDownloadRequest.ImageHeaders image_headers = 6; | 365 optional ClientDownloadRequest.ImageHeaders image_headers = 6; |
| 366 } | 366 } |
| 367 message VariationsSeedSignatureIncident { | 367 message VariationsSeedSignatureIncident { |
| 368 optional string variations_seed_signature = 1; | 368 optional string variations_seed_signature = 1; |
| 369 } | 369 } |
| 370 message ScriptRequestIncident { |
| 371 optional string script_hash = 1; |
| 372 optional string inclusion_domain = 2; |
| 373 } |
| 370 optional int64 incident_time_msec = 1; | 374 optional int64 incident_time_msec = 1; |
| 371 optional TrackedPreferenceIncident tracked_preference = 2; | 375 optional TrackedPreferenceIncident tracked_preference = 2; |
| 372 optional BinaryIntegrityIncident binary_integrity = 3; | 376 optional BinaryIntegrityIncident binary_integrity = 3; |
| 373 optional BlacklistLoadIncident blacklist_load = 4; | 377 optional BlacklistLoadIncident blacklist_load = 4; |
| 374 // Note: skip tag 5 because it was previously used. | 378 // Note: skip tag 5 because it was previously used. |
| 375 optional VariationsSeedSignatureIncident variations_seed_signature = 6; | 379 optional VariationsSeedSignatureIncident variations_seed_signature = 6; |
| 380 optional ScriptRequestIncident script_request = 7; |
| 376 } | 381 } |
| 377 | 382 |
| 378 repeated IncidentData incident = 1; | 383 repeated IncidentData incident = 1; |
| 379 | 384 |
| 380 message DownloadDetails { | 385 message DownloadDetails { |
| 381 optional bytes token = 1; | 386 optional bytes token = 1; |
| 382 optional ClientDownloadRequest download = 2; | 387 optional ClientDownloadRequest download = 2; |
| 383 optional int64 download_time_msec = 3; | 388 optional int64 download_time_msec = 3; |
| 384 optional int64 open_time_msec = 4; | 389 optional int64 open_time_msec = 4; |
| 385 } | 390 } |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 message EnvironmentRequest { optional int32 dll_index = 1; } | 462 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 458 | 463 |
| 459 repeated EnvironmentRequest environment_requests = 3; | 464 repeated EnvironmentRequest environment_requests = 3; |
| 460 } | 465 } |
| 461 | 466 |
| 462 message DownloadMetadata { | 467 message DownloadMetadata { |
| 463 optional uint32 download_id = 1; | 468 optional uint32 download_id = 1; |
| 464 | 469 |
| 465 optional ClientIncidentReport.DownloadDetails download = 2; | 470 optional ClientIncidentReport.DownloadDetails download = 2; |
| 466 } | 471 } |
| OLD | NEW |