| 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 message BinaryIntegrityIncident { | 355 message BinaryIntegrityIncident { |
| 356 optional string file_basename = 1; | 356 optional string file_basename = 1; |
| 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 } | 364 } |
| 365 message OmniboxInteractionIncident { |
| 366 optional string origin = 1; |
| 367 } |
| 365 optional int64 incident_time_msec = 1; | 368 optional int64 incident_time_msec = 1; |
| 366 optional TrackedPreferenceIncident tracked_preference = 2; | 369 optional TrackedPreferenceIncident tracked_preference = 2; |
| 367 optional BinaryIntegrityIncident binary_integrity = 3; | 370 optional BinaryIntegrityIncident binary_integrity = 3; |
| 368 optional BlacklistLoadIncident blacklist_load = 4; | 371 optional BlacklistLoadIncident blacklist_load = 4; |
| 372 optional OmniboxInteractionIncident omnibox_interaction = 5; |
| 369 } | 373 } |
| 370 | 374 |
| 371 repeated IncidentData incident = 1; | 375 repeated IncidentData incident = 1; |
| 372 | 376 |
| 373 message DownloadDetails { | 377 message DownloadDetails { |
| 374 optional bytes token = 1; | 378 optional bytes token = 1; |
| 375 optional ClientDownloadRequest download = 2; | 379 optional ClientDownloadRequest download = 2; |
| 376 optional int64 download_time_msec = 3; | 380 optional int64 download_time_msec = 3; |
| 377 optional int64 open_time_msec = 4; | 381 optional int64 open_time_msec = 4; |
| 378 } | 382 } |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 message EnvironmentRequest { optional int32 dll_index = 1; } | 454 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 451 | 455 |
| 452 repeated EnvironmentRequest environment_requests = 3; | 456 repeated EnvironmentRequest environment_requests = 3; |
| 453 } | 457 } |
| 454 | 458 |
| 455 message DownloadMetadata { | 459 message DownloadMetadata { |
| 456 optional uint32 download_id = 1; | 460 optional uint32 download_id = 1; |
| 457 | 461 |
| 458 optional ClientIncidentReport.DownloadDetails download = 2; | 462 optional ClientIncidentReport.DownloadDetails download = 2; |
| 459 } | 463 } |
| OLD | NEW |