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

Unified 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: Fix incorrect and misleading unit tests in for blacklist_load and suspicious_module incidents Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/safe_browsing/csd.proto
diff --git a/chrome/common/safe_browsing/csd.proto b/chrome/common/safe_browsing/csd.proto
index 1b6dd1b237ab57e03aa87ca2fe41d40fb2a4f727..7e24ca455e59c105bc40918285ee72f7cea69873 100644
--- a/chrome/common/safe_browsing/csd.proto
+++ b/chrome/common/safe_browsing/csd.proto
@@ -490,6 +490,13 @@ message ClientIncidentReport {
optional string origin = 2;
optional Type type = 3 [default = UNKNOWN];
}
+ message SuspiciousModuleIncident {
+ optional string path = 1;
+ optional ClientDownloadRequest.Digests digest = 2;
+ optional string version = 3;
+ optional ClientDownloadRequest.SignatureInfo signature = 4;
+ optional ClientDownloadRequest.ImageHeaders image_headers = 5;
+ }
optional int64 incident_time_msec = 1;
optional TrackedPreferenceIncident tracked_preference = 2;
optional BinaryIntegrityIncident binary_integrity = 3;
@@ -497,6 +504,7 @@ message ClientIncidentReport {
// Note: skip tag 5 because it was previously used.
optional VariationsSeedSignatureIncident variations_seed_signature = 6;
optional ResourceRequestIncident resource_request = 7;
+ optional SuspiciousModuleIncident suspicious_module = 8;
}
repeated IncidentData incident = 1;

Powered by Google App Engine
This is Rietveld 408576698