| 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_basename = 1; |
| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 } | 436 } |
| 432 | 437 |
| 433 message ClientIncidentResponse { | 438 message ClientIncidentResponse { |
| 434 optional bytes token = 1; | 439 optional bytes token = 1; |
| 435 optional bool download_requested = 2; | 440 optional bool download_requested = 2; |
| 436 | 441 |
| 437 message EnvironmentRequest { optional int32 dll_index = 1; } | 442 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 438 | 443 |
| 439 repeated EnvironmentRequest environment_requests = 3; | 444 repeated EnvironmentRequest environment_requests = 3; |
| 440 } | 445 } |
| OLD | NEW |