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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 { | 354 message BinaryIntegrityIncident { |
355 optional string file_basename = 1; | 355 optional string file_basename = 1; |
356 optional ClientDownloadRequest.SignatureInfo signature = 2; | 356 optional ClientDownloadRequest.SignatureInfo signature = 2; |
357 } | 357 } |
| 358 message BlacklistLoadIncident { |
| 359 optional string path = 1; |
| 360 optional ClientDownloadRequest.Digests digest = 2; |
| 361 optional string version = 3; |
| 362 } |
358 optional int64 incident_time_msec = 1; | 363 optional int64 incident_time_msec = 1; |
359 optional TrackedPreferenceIncident tracked_preference = 2; | 364 optional TrackedPreferenceIncident tracked_preference = 2; |
360 optional BinaryIntegrityIncident binary_integrity = 3; | 365 optional BinaryIntegrityIncident binary_integrity = 3; |
| 366 optional BlacklistLoadIncident blacklist_load = 4; |
361 } | 367 } |
362 | 368 |
363 repeated IncidentData incident = 1; | 369 repeated IncidentData incident = 1; |
364 | 370 |
365 message DownloadDetails { | 371 message DownloadDetails { |
366 optional bytes token = 1; | 372 optional bytes token = 1; |
367 optional ClientDownloadRequest download = 2; | 373 optional ClientDownloadRequest download = 2; |
368 optional int64 download_time_msec = 3; | 374 optional int64 download_time_msec = 3; |
369 optional int64 open_time_msec = 4; | 375 optional int64 open_time_msec = 4; |
370 } | 376 } |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 } | 442 } |
437 | 443 |
438 message ClientIncidentResponse { | 444 message ClientIncidentResponse { |
439 optional bytes token = 1; | 445 optional bytes token = 1; |
440 optional bool download_requested = 2; | 446 optional bool download_requested = 2; |
441 | 447 |
442 message EnvironmentRequest { optional int32 dll_index = 1; } | 448 message EnvironmentRequest { optional int32 dll_index = 1; } |
443 | 449 |
444 repeated EnvironmentRequest environment_requests = 3; | 450 repeated EnvironmentRequest environment_requests = 3; |
445 } | 451 } |
OLD | NEW |