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

Unified Diff: chrome/common/safe_browsing/csd.proto

Issue 1024943002: Add domain request detection to incident reporting service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove empty line for consistency Created 5 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 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 e5c4e277416fd138fca37d2a304da3fc1cf95e4f..25bdc803f0e3d153156d05f2c15b2cd617fcc5fe 100644
--- a/chrome/common/safe_browsing/csd.proto
+++ b/chrome/common/safe_browsing/csd.proto
@@ -382,9 +382,15 @@ message ClientIncidentReport {
message VariationsSeedSignatureIncident {
optional string variations_seed_signature = 1;
}
- message ScriptRequestIncident {
- optional bytes script_digest = 1;
- optional string inclusion_origin = 2;
+ message ResourceRequestIncident {
+ enum Type {
+ UNKNOWN = 0;
+ TYPE_SCRIPT = 1;
+ TYPE_DOMAIN = 2;
+ }
+ optional bytes digest = 1;
+ optional string origin = 2;
+ optional Type type = 3;
grt (UTC plus 2) 2015/04/01 20:17:07 please change this line to: optional Type ty
}
optional int64 incident_time_msec = 1;
optional TrackedPreferenceIncident tracked_preference = 2;
@@ -392,7 +398,7 @@ message ClientIncidentReport {
optional BlacklistLoadIncident blacklist_load = 4;
// Note: skip tag 5 because it was previously used.
optional VariationsSeedSignatureIncident variations_seed_signature = 6;
- optional ScriptRequestIncident script_request = 7;
+ optional ResourceRequestIncident resource_request = 7;
}
repeated IncidentData incident = 1;

Powered by Google App Engine
This is Rietveld 408576698