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

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

Issue 1643573002: Add a ModuleLoadAnalyzer which checks modules against a whitelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase-update'd Created 4 years, 9 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 } 482 }
483 message ResourceRequestIncident { 483 message ResourceRequestIncident {
484 enum Type { 484 enum Type {
485 UNKNOWN = 0; 485 UNKNOWN = 0;
486 TYPE_PATTERN = 3; 486 TYPE_PATTERN = 3;
487 } 487 }
488 optional bytes digest = 1; 488 optional bytes digest = 1;
489 optional string origin = 2; 489 optional string origin = 2;
490 optional Type type = 3 [default = UNKNOWN]; 490 optional Type type = 3 [default = UNKNOWN];
491 } 491 }
492 message SuspiciousModuleIncident {
493 optional string path = 1;
494 optional ClientDownloadRequest.Digests digest = 2;
495 optional string version = 3;
496 optional ClientDownloadRequest.SignatureInfo signature = 4;
497 optional ClientDownloadRequest.ImageHeaders image_headers = 5;
498 }
492 optional int64 incident_time_msec = 1; 499 optional int64 incident_time_msec = 1;
493 optional TrackedPreferenceIncident tracked_preference = 2; 500 optional TrackedPreferenceIncident tracked_preference = 2;
494 optional BinaryIntegrityIncident binary_integrity = 3; 501 optional BinaryIntegrityIncident binary_integrity = 3;
495 optional BlacklistLoadIncident blacklist_load = 4; 502 optional BlacklistLoadIncident blacklist_load = 4;
496 // Note: skip tag 5 because it was previously used. 503 // Note: skip tag 5 because it was previously used.
497 optional VariationsSeedSignatureIncident variations_seed_signature = 6; 504 optional VariationsSeedSignatureIncident variations_seed_signature = 6;
498 optional ResourceRequestIncident resource_request = 7; 505 optional ResourceRequestIncident resource_request = 7;
506 optional SuspiciousModuleIncident suspicious_module = 8;
499 } 507 }
500 508
501 repeated IncidentData incident = 1; 509 repeated IncidentData incident = 1;
502 510
503 message DownloadDetails { 511 message DownloadDetails {
504 optional bytes token = 1; 512 optional bytes token = 1;
505 optional ClientDownloadRequest download = 2; 513 optional ClientDownloadRequest download = 2;
506 optional int64 download_time_msec = 3; 514 optional int64 download_time_msec = 3;
507 optional int64 open_time_msec = 4; 515 optional int64 open_time_msec = 4;
508 } 516 }
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 // csd_frontend 759 // csd_frontend
752 repeated string client_asn = 6; 760 repeated string client_asn = 6;
753 optional string client_country = 7; 761 optional string client_country = 7;
754 762
755 // Whether user chose to proceed. 763 // Whether user chose to proceed.
756 optional bool did_proceed = 8; 764 optional bool did_proceed = 8;
757 765
758 // Whether user visited this origin before. 766 // Whether user visited this origin before.
759 optional bool repeat_visit = 9; 767 optional bool repeat_visit = 9;
760 } 768 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698