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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 repeated NetworkProvider network_providers = 4; | 390 repeated NetworkProvider network_providers = 4; |
391 enum Channel { | 391 enum Channel { |
392 CHANNEL_UNKNOWN = 0; | 392 CHANNEL_UNKNOWN = 0; |
393 CHANNEL_CANARY = 1; | 393 CHANNEL_CANARY = 1; |
394 CHANNEL_DEV = 2; | 394 CHANNEL_DEV = 2; |
395 CHANNEL_BETA = 3; | 395 CHANNEL_BETA = 3; |
396 CHANNEL_STABLE = 4; | 396 CHANNEL_STABLE = 4; |
397 } | 397 } |
398 optional Channel chrome_update_channel = 5; | 398 optional Channel chrome_update_channel = 5; |
399 optional int64 uptime_msec = 6; | 399 optional int64 uptime_msec = 6; |
| 400 optional bool metrics_consent = 7; |
| 401 optional bool extended_consent = 8; |
400 } | 402 } |
401 optional Process process = 3; | 403 optional Process process = 3; |
402 } | 404 } |
403 | 405 |
404 optional EnvironmentData environment = 3; | 406 optional EnvironmentData environment = 3; |
405 } | 407 } |
406 | 408 |
407 message ClientIncidentResponse { | 409 message ClientIncidentResponse { |
408 optional bytes token = 1; | 410 optional bytes token = 1; |
409 optional bool download_requested = 2; | 411 optional bool download_requested = 2; |
410 | 412 |
411 message EnvironmentRequest { optional int32 dll_index = 1; } | 413 message EnvironmentRequest { optional int32 dll_index = 1; } |
412 | 414 |
413 repeated EnvironmentRequest environment_requests = 3; | 415 repeated EnvironmentRequest environment_requests = 3; |
414 } | 416 } |
OLD | NEW |