| 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 { | 358 message BlacklistLoadIncident { |
| 359 optional string path = 1; | 359 optional string path = 1; |
| 360 optional ClientDownloadRequest.Digests digest = 2; | 360 optional ClientDownloadRequest.Digests digest = 2; |
| 361 optional string version = 3; | 361 optional string version = 3; |
| 362 optional bool blacklist_initialized = 4; |
| 362 } | 363 } |
| 363 optional int64 incident_time_msec = 1; | 364 optional int64 incident_time_msec = 1; |
| 364 optional TrackedPreferenceIncident tracked_preference = 2; | 365 optional TrackedPreferenceIncident tracked_preference = 2; |
| 365 optional BinaryIntegrityIncident binary_integrity = 3; | 366 optional BinaryIntegrityIncident binary_integrity = 3; |
| 366 optional BlacklistLoadIncident blacklist_load = 4; | 367 optional BlacklistLoadIncident blacklist_load = 4; |
| 367 } | 368 } |
| 368 | 369 |
| 369 repeated IncidentData incident = 1; | 370 repeated IncidentData incident = 1; |
| 370 | 371 |
| 371 message DownloadDetails { | 372 message DownloadDetails { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 } | 443 } |
| 443 | 444 |
| 444 message ClientIncidentResponse { | 445 message ClientIncidentResponse { |
| 445 optional bytes token = 1; | 446 optional bytes token = 1; |
| 446 optional bool download_requested = 2; | 447 optional bool download_requested = 2; |
| 447 | 448 |
| 448 message EnvironmentRequest { optional int32 dll_index = 1; } | 449 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 449 | 450 |
| 450 repeated EnvironmentRequest environment_requests = 3; | 451 repeated EnvironmentRequest environment_requests = 3; |
| 451 } | 452 } |
| OLD | NEW |