Chromium Code Reviews| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 344 WEAK_LEGACY_OBSOLETE = 2; | 344 WEAK_LEGACY_OBSOLETE = 2; |
| 345 CHANGED = 3; | 345 CHANGED = 3; |
| 346 UNTRUSTED_UNKNOWN_VALUE = 4; | 346 UNTRUSTED_UNKNOWN_VALUE = 4; |
| 347 } | 347 } |
| 348 | 348 |
| 349 optional string path = 1; | 349 optional string path = 1; |
| 350 optional string atomic_value = 2; | 350 optional string atomic_value = 2; |
| 351 repeated string split_key = 3; | 351 repeated string split_key = 3; |
| 352 optional ValueState value_state = 4; | 352 optional ValueState value_state = 4; |
| 353 } | 353 } |
| 354 message BinaryIntegrityIncident { | |
| 355 optional string file = 1; | |
|
grt (UTC plus 2)
2014/08/07 02:12:46
if this is only the name of the file rather than t
pmonette_google.com
2014/08/07 21:29:29
In its current form, I am serializing the whole pa
mattm
2014/08/07 22:18:30
If it does include the full path, should it use Pa
grt (UTC plus 2)
2014/08/08 02:23:05
Let's go with the basename for now. If we find tha
pmonette_google.com
2014/08/08 15:05:42
Done.
| |
| 356 optional ClientDownloadRequest.SignatureInfo signature = 2; | |
| 357 } | |
| 354 optional int64 incident_time_msec = 1; | 358 optional int64 incident_time_msec = 1; |
| 355 optional TrackedPreferenceIncident tracked_preference = 2; | 359 optional TrackedPreferenceIncident tracked_preference = 2; |
| 360 optional BinaryIntegrityIncident binary_integrity = 3; | |
| 356 } | 361 } |
| 357 | 362 |
| 358 repeated IncidentData incident = 1; | 363 repeated IncidentData incident = 1; |
| 359 | 364 |
| 360 message DownloadDetails { | 365 message DownloadDetails { |
| 361 optional bytes token = 1; | 366 optional bytes token = 1; |
| 362 optional ClientDownloadRequest download = 2; | 367 optional ClientDownloadRequest download = 2; |
| 363 optional int64 download_time_msec = 3; | 368 optional int64 download_time_msec = 3; |
| 364 optional int64 open_time_msec = 4; | 369 optional int64 open_time_msec = 4; |
| 365 } | 370 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 419 } | 424 } |
| 420 | 425 |
| 421 message ClientIncidentResponse { | 426 message ClientIncidentResponse { |
| 422 optional bytes token = 1; | 427 optional bytes token = 1; |
| 423 optional bool download_requested = 2; | 428 optional bool download_requested = 2; |
| 424 | 429 |
| 425 message EnvironmentRequest { optional int32 dll_index = 1; } | 430 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 426 | 431 |
| 427 repeated EnvironmentRequest environment_requests = 3; | 432 repeated EnvironmentRequest environment_requests = 3; |
| 428 } | 433 } |
| OLD | NEW |