| 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 UNKNOWN = 0; | 404 UNKNOWN = 0; |
| 405 LSP = 1; | 405 LSP = 1; |
| 406 } | 406 } |
| 407 optional string path = 1; | 407 optional string path = 1; |
| 408 optional uint64 base_address = 2; | 408 optional uint64 base_address = 2; |
| 409 optional uint32 length = 3; | 409 optional uint32 length = 3; |
| 410 repeated Feature feature = 4; | 410 repeated Feature feature = 4; |
| 411 } | 411 } |
| 412 repeated Dll dll = 9; | 412 repeated Dll dll = 9; |
| 413 repeated string blacklisted_dll = 10; | 413 repeated string blacklisted_dll = 10; |
| 414 message ModuleState { |
| 415 enum ModifiedState { |
| 416 UNKNOWN = 0; |
| 417 MODULE_STATE_UNMODIFIED = 1; |
| 418 MODULE_STATE_MODIFIED = 2; |
| 419 } |
| 420 optional string name = 1; |
| 421 optional ModifiedState modified_state = 2; |
| 422 repeated string modified_export = 3; |
| 423 } |
| 424 repeated ModuleState module_state = 11; |
| 414 } | 425 } |
| 415 optional Process process = 3; | 426 optional Process process = 3; |
| 416 } | 427 } |
| 417 | 428 |
| 418 optional EnvironmentData environment = 3; | 429 optional EnvironmentData environment = 3; |
| 419 } | 430 } |
| 420 | 431 |
| 421 message ClientIncidentResponse { | 432 message ClientIncidentResponse { |
| 422 optional bytes token = 1; | 433 optional bytes token = 1; |
| 423 optional bool download_requested = 2; | 434 optional bool download_requested = 2; |
| 424 | 435 |
| 425 message EnvironmentRequest { optional int32 dll_index = 1; } | 436 message EnvironmentRequest { optional int32 dll_index = 1; } |
| 426 | 437 |
| 427 repeated EnvironmentRequest environment_requests = 3; | 438 repeated EnvironmentRequest environment_requests = 3; |
| 428 } | 439 } |
| OLD | NEW |