| 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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 repeated string blacklisted_dll = 10; | 467 repeated string blacklisted_dll = 10; |
| 468 message ModuleState { | 468 message ModuleState { |
| 469 enum ModifiedState { | 469 enum ModifiedState { |
| 470 UNKNOWN = 0; | 470 UNKNOWN = 0; |
| 471 MODULE_STATE_UNKNOWN = 1; | 471 MODULE_STATE_UNKNOWN = 1; |
| 472 MODULE_STATE_UNMODIFIED = 2; | 472 MODULE_STATE_UNMODIFIED = 2; |
| 473 MODULE_STATE_MODIFIED = 3; | 473 MODULE_STATE_MODIFIED = 3; |
| 474 } | 474 } |
| 475 optional string name = 1; | 475 optional string name = 1; |
| 476 optional ModifiedState modified_state = 2; | 476 optional ModifiedState modified_state = 2; |
| 477 repeated string modified_export = 3; | 477 repeated string OBSOLETE_modified_export = 3; |
| 478 | 478 |
| 479 message Modification { | 479 message Modification { |
| 480 optional uint32 file_offset = 1; | 480 optional uint32 file_offset = 1; |
| 481 optional int32 byte_count = 2; | 481 optional int32 byte_count = 2; |
| 482 optional bytes modified_bytes = 3; | 482 optional bytes modified_bytes = 3; |
| 483 optional string export_name = 4; | 483 optional string export_name = 4; |
| 484 } | 484 } |
| 485 repeated Modification modification = 4; | 485 repeated Modification modification = 4; |
| 486 } | 486 } |
| 487 repeated ModuleState module_state = 11; | 487 repeated ModuleState module_state = 11; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 499 message EnvironmentRequest { optional int32 dll_index = 1; } | 499 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 500 | 500 |
| 501 repeated EnvironmentRequest environment_requests = 3; | 501 repeated EnvironmentRequest environment_requests = 3; |
| 502 } | 502 } |
| 503 | 503 |
| 504 message DownloadMetadata { | 504 message DownloadMetadata { |
| 505 optional uint32 download_id = 1; | 505 optional uint32 download_id = 1; |
| 506 | 506 |
| 507 optional ClientIncidentReport.DownloadDetails download = 2; | 507 optional ClientIncidentReport.DownloadDetails download = 2; |
| 508 } | 508 } |
| OLD | NEW |