| 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 message BinaryIntegrityIncident { | 355 message BinaryIntegrityIncident { |
| 356 optional string file_basename = 1; | 356 optional string file_basename = 1; |
| 357 optional ClientDownloadRequest.SignatureInfo signature = 2; | 357 optional ClientDownloadRequest.SignatureInfo signature = 2; |
| 358 } | 358 } |
| 359 message BlacklistLoadIncident { | 359 message BlacklistLoadIncident { |
| 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 } | 364 } |
| 365 message VariationsSeedSignatureIncident { | |
| 366 optional string variations_seed_signature = 1; | |
| 367 } | |
| 368 optional int64 incident_time_msec = 1; | 365 optional int64 incident_time_msec = 1; |
| 369 optional TrackedPreferenceIncident tracked_preference = 2; | 366 optional TrackedPreferenceIncident tracked_preference = 2; |
| 370 optional BinaryIntegrityIncident binary_integrity = 3; | 367 optional BinaryIntegrityIncident binary_integrity = 3; |
| 371 optional BlacklistLoadIncident blacklist_load = 4; | 368 optional BlacklistLoadIncident blacklist_load = 4; |
| 372 optional VariationsSeedSignatureIncident variations_seed_signature = 5; | |
| 373 } | 369 } |
| 374 | 370 |
| 375 repeated IncidentData incident = 1; | 371 repeated IncidentData incident = 1; |
| 376 | 372 |
| 377 message DownloadDetails { | 373 message DownloadDetails { |
| 378 optional bytes token = 1; | 374 optional bytes token = 1; |
| 379 optional ClientDownloadRequest download = 2; | 375 optional ClientDownloadRequest download = 2; |
| 380 optional int64 download_time_msec = 3; | 376 optional int64 download_time_msec = 3; |
| 381 optional int64 open_time_msec = 4; | 377 optional int64 open_time_msec = 4; |
| 382 } | 378 } |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 } | 444 } |
| 449 | 445 |
| 450 message ClientIncidentResponse { | 446 message ClientIncidentResponse { |
| 451 optional bytes token = 1; | 447 optional bytes token = 1; |
| 452 optional bool download_requested = 2; | 448 optional bool download_requested = 2; |
| 453 | 449 |
| 454 message EnvironmentRequest { optional int32 dll_index = 1; } | 450 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 455 | 451 |
| 456 repeated EnvironmentRequest environment_requests = 3; | 452 repeated EnvironmentRequest environment_requests = 3; |
| 457 } | 453 } |
| OLD | NEW |