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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 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 OmniboxInteractionIncident { | |
368 optional string origin = 1; | |
369 } | |
370 message VariationsSeedSignatureIncident { | 367 message VariationsSeedSignatureIncident { |
371 optional string variations_seed_signature = 1; | 368 optional string variations_seed_signature = 1; |
372 } | 369 } |
373 optional int64 incident_time_msec = 1; | 370 optional int64 incident_time_msec = 1; |
374 optional TrackedPreferenceIncident tracked_preference = 2; | 371 optional TrackedPreferenceIncident tracked_preference = 2; |
375 optional BinaryIntegrityIncident binary_integrity = 3; | 372 optional BinaryIntegrityIncident binary_integrity = 3; |
376 optional BlacklistLoadIncident blacklist_load = 4; | 373 optional BlacklistLoadIncident blacklist_load = 4; |
377 optional OmniboxInteractionIncident omnibox_interaction = 5; | 374 // Note: skip tag 5 because it was previously used. |
Mark P
2015/01/22 22:36:59
Isn't it better practice to leave the message and
Mark P
2015/01/22 22:38:18
Also, once we settle on the proto changes or lack
grt (UTC plus 2)
2015/01/23 16:46:32
That may be good practice where there's still exis
grt (UTC plus 2)
2015/01/23 16:46:32
We'll keep the message on the back-end. Happy to d
Mark P
2015/01/23 16:55:03
Given that you're keeping the message on the backe
| |
378 optional VariationsSeedSignatureIncident variations_seed_signature = 6; | 375 optional VariationsSeedSignatureIncident variations_seed_signature = 6; |
379 } | 376 } |
380 | 377 |
381 repeated IncidentData incident = 1; | 378 repeated IncidentData incident = 1; |
382 | 379 |
383 message DownloadDetails { | 380 message DownloadDetails { |
384 optional bytes token = 1; | 381 optional bytes token = 1; |
385 optional ClientDownloadRequest download = 2; | 382 optional ClientDownloadRequest download = 2; |
386 optional int64 download_time_msec = 3; | 383 optional int64 download_time_msec = 3; |
387 optional int64 open_time_msec = 4; | 384 optional int64 open_time_msec = 4; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
460 message EnvironmentRequest { optional int32 dll_index = 1; } | 457 message EnvironmentRequest { optional int32 dll_index = 1; } |
461 | 458 |
462 repeated EnvironmentRequest environment_requests = 3; | 459 repeated EnvironmentRequest environment_requests = 3; |
463 } | 460 } |
464 | 461 |
465 message DownloadMetadata { | 462 message DownloadMetadata { |
466 optional uint32 download_id = 1; | 463 optional uint32 download_id = 1; |
467 | 464 |
468 optional ClientIncidentReport.DownloadDetails download = 2; | 465 optional ClientIncidentReport.DownloadDetails download = 2; |
469 } | 466 } |
OLD | NEW |