Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Side by Side Diff: chrome/common/safe_browsing/csd.proto

Issue 2384213002: Send a TrackedPreference incident when registry pref validation fails. (Closed)
Patch Set: Address comments on patch set 4 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
515 } 517 }
516 518
517 optional string path = 1; 519 optional string path = 1;
518 optional string atomic_value = 2; 520 optional string atomic_value = 2;
519 repeated string split_key = 3; 521 repeated string split_key = 3;
520 optional ValueState value_state = 4; 522 optional ValueState value_state = 4;
521 } 523 }
522 524
523 message BinaryIntegrityIncident { 525 message BinaryIntegrityIncident {
524 optional string file_basename = 1; 526 optional string file_basename = 1;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 optional bool did_proceed = 8; 832 optional bool did_proceed = 8;
831 833
832 // Whether user visited this origin before. 834 // Whether user visited this origin before.
833 optional bool repeat_visit = 9; 835 optional bool repeat_visit = 9;
834 836
835 // The same token in ClientDownloadResponse. This field is only set if its 837 // The same token in ClientDownloadResponse. This field is only set if its
836 // report type is DANGEROUS_DOWNLOAD_RECOVERY, DANGEROUS_DOWNLOAD_WARNING or 838 // report type is DANGEROUS_DOWNLOAD_RECOVERY, DANGEROUS_DOWNLOAD_WARNING or
837 // DANGEROUS_DOWNLOAD_BY_API. 839 // DANGEROUS_DOWNLOAD_BY_API.
838 optional bytes token = 15; 840 optional bytes token = 15;
839 } 841 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698