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 optional string name = 1; | |
416 optional uint32 modified_state = 2; | |
grt (UTC plus 2)
2014/08/05 16:04:54
this is really an enum, right? could you make an e
krstnmnlsn
2014/08/05 23:07:25
I didn't notice we could do enums, that's great.
grt (UTC plus 2)
2014/08/06 01:28:10
It's best not to. When new values are added to the
| |
417 repeated string modified_export = 3; | |
418 } | |
419 repeated ModuleState module_state = 11; | |
414 } | 420 } |
415 optional Process process = 3; | 421 optional Process process = 3; |
416 } | 422 } |
417 | 423 |
418 optional EnvironmentData environment = 3; | 424 optional EnvironmentData environment = 3; |
419 } | 425 } |
420 | 426 |
421 message ClientIncidentResponse { | 427 message ClientIncidentResponse { |
422 optional bytes token = 1; | 428 optional bytes token = 1; |
423 optional bool download_requested = 2; | 429 optional bool download_requested = 2; |
424 | 430 |
425 message EnvironmentRequest { optional int32 dll_index = 1; } | 431 message EnvironmentRequest { optional int32 dll_index = 1; } |
426 | 432 |
427 repeated EnvironmentRequest environment_requests = 3; | 433 repeated EnvironmentRequest environment_requests = 3; |
428 } | 434 } |
OLD | NEW |