| 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 OmniboxInteractionIncident { | 365 message OmniboxInteractionIncident { |
| 366 optional string origin = 1; | 366 optional string origin = 1; |
| 367 } | 367 } |
| 368 message VariationsSeedSignatureIncident { |
| 369 optional string variations_seed_signature = 1; |
| 370 } |
| 368 optional int64 incident_time_msec = 1; | 371 optional int64 incident_time_msec = 1; |
| 369 optional TrackedPreferenceIncident tracked_preference = 2; | 372 optional TrackedPreferenceIncident tracked_preference = 2; |
| 370 optional BinaryIntegrityIncident binary_integrity = 3; | 373 optional BinaryIntegrityIncident binary_integrity = 3; |
| 371 optional BlacklistLoadIncident blacklist_load = 4; | 374 optional BlacklistLoadIncident blacklist_load = 4; |
| 372 optional OmniboxInteractionIncident omnibox_interaction = 5; | 375 optional OmniboxInteractionIncident omnibox_interaction = 5; |
| 376 optional VariationsSeedSignatureIncident variations_seed_signature = 6; |
| 373 } | 377 } |
| 374 | 378 |
| 375 repeated IncidentData incident = 1; | 379 repeated IncidentData incident = 1; |
| 376 | 380 |
| 377 message DownloadDetails { | 381 message DownloadDetails { |
| 378 optional bytes token = 1; | 382 optional bytes token = 1; |
| 379 optional ClientDownloadRequest download = 2; | 383 optional ClientDownloadRequest download = 2; |
| 380 optional int64 download_time_msec = 3; | 384 optional int64 download_time_msec = 3; |
| 381 optional int64 open_time_msec = 4; | 385 optional int64 open_time_msec = 4; |
| 382 } | 386 } |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 message EnvironmentRequest { optional int32 dll_index = 1; } | 458 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 455 | 459 |
| 456 repeated EnvironmentRequest environment_requests = 3; | 460 repeated EnvironmentRequest environment_requests = 3; |
| 457 } | 461 } |
| 458 | 462 |
| 459 message DownloadMetadata { | 463 message DownloadMetadata { |
| 460 optional uint32 download_id = 1; | 464 optional uint32 download_id = 1; |
| 461 | 465 |
| 462 optional ClientIncidentReport.DownloadDetails download = 2; | 466 optional ClientIncidentReport.DownloadDetails download = 2; |
| 463 } | 467 } |
| OLD | NEW |