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 // This proto file includes: | 5 // This proto file includes: |
6 // (1) Client side phishing and malware detection request and response | 6 // (1) Client side phishing and malware detection request and response |
7 // protocol buffers. Those protocol messages should be kept in sync | 7 // protocol buffers. Those protocol messages should be kept in sync |
8 // with the server implementation. | 8 // with the server implementation. |
9 // | 9 // |
10 // (2) Safe Browsing reporting protocol buffers. | 10 // (2) Safe Browsing reporting protocol buffers. |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 | 505 |
506 message ClientIncidentReport { | 506 message ClientIncidentReport { |
507 message IncidentData { | 507 message IncidentData { |
508 message TrackedPreferenceIncident { | 508 message TrackedPreferenceIncident { |
509 enum ValueState { | 509 enum ValueState { |
510 UNKNOWN = 0; | 510 UNKNOWN = 0; |
511 CLEARED = 1; | 511 CLEARED = 1; |
512 WEAK_LEGACY_OBSOLETE = 2; | 512 WEAK_LEGACY_OBSOLETE = 2; |
513 CHANGED = 3; | 513 CHANGED = 3; |
514 UNTRUSTED_UNKNOWN_VALUE = 4; | 514 UNTRUSTED_UNKNOWN_VALUE = 4; |
515 BYPASS_CLEARED = 5; | |
516 BYPASS_CHANGED = 6; | |
517 } | 515 } |
518 | 516 |
519 optional string path = 1; | 517 optional string path = 1; |
520 optional string atomic_value = 2; | 518 optional string atomic_value = 2; |
521 repeated string split_key = 3; | 519 repeated string split_key = 3; |
522 optional ValueState value_state = 4; | 520 optional ValueState value_state = 4; |
523 } | 521 } |
524 | 522 |
525 message BinaryIntegrityIncident { | 523 message BinaryIntegrityIncident { |
526 optional string file_basename = 1; | 524 optional string file_basename = 1; |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 optional bool did_proceed = 8; | 830 optional bool did_proceed = 8; |
833 | 831 |
834 // Whether user visited this origin before. | 832 // Whether user visited this origin before. |
835 optional bool repeat_visit = 9; | 833 optional bool repeat_visit = 9; |
836 | 834 |
837 // The same token in ClientDownloadResponse. This field is only set if its | 835 // The same token in ClientDownloadResponse. This field is only set if its |
838 // report type is DANGEROUS_DOWNLOAD_RECOVERY, DANGEROUS_DOWNLOAD_WARNING or | 836 // report type is DANGEROUS_DOWNLOAD_RECOVERY, DANGEROUS_DOWNLOAD_WARNING or |
839 // DANGEROUS_DOWNLOAD_BY_API. | 837 // DANGEROUS_DOWNLOAD_BY_API. |
840 optional bytes token = 15; | 838 optional bytes token = 15; |
841 } | 839 } |
OLD | NEW |