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_UNKNOWN = 1; |
| 418 MODULE_STATE_UNMODIFIED = 2; |
| 419 MODULE_STATE_MODIFIED = 3; |
| 420 } |
| 421 optional string name = 1; |
| 422 optional ModifiedState modified_state = 2; |
| 423 repeated string modified_export = 3; |
| 424 } |
| 425 repeated ModuleState module_state = 11; |
414 } | 426 } |
415 optional Process process = 3; | 427 optional Process process = 3; |
416 } | 428 } |
417 | 429 |
418 optional EnvironmentData environment = 3; | 430 optional EnvironmentData environment = 3; |
419 } | 431 } |
420 | 432 |
421 message ClientIncidentResponse { | 433 message ClientIncidentResponse { |
422 optional bytes token = 1; | 434 optional bytes token = 1; |
423 optional bool download_requested = 2; | 435 optional bool download_requested = 2; |
424 | 436 |
425 message EnvironmentRequest { optional int32 dll_index = 1; } | 437 message EnvironmentRequest { optional int32 dll_index = 1; } |
426 | 438 |
427 repeated EnvironmentRequest environment_requests = 3; | 439 repeated EnvironmentRequest environment_requests = 3; |
428 } | 440 } |
OLD | NEW |