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

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

Issue 4822002: Send malware reports when a user opts-in from the safe browsing interstitial ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/browser/safe_browsing/csd.proto
===================================================================
--- chrome/browser/safe_browsing/csd.proto (revision 65874)
+++ chrome/browser/safe_browsing/csd.proto (working copy)
@@ -32,3 +32,54 @@
message ClientPhishingResponse {
required bool phishy = 1;
}
lzheng 2010/11/16 00:18:12 csd.proto was for client side detection. I suggest
panayiotis 2010/11/18 22:04:37 Done.
+
+message ClientMalwareReportRequest {
+
+ message HTTPHeader {
+ required string name = 1;
+ optional string value = 2;
+ }
+
+ message HTTPRequest {
+ message FirstLine {
+ optional string verb = 1;
lzheng 2010/11/16 00:18:12 what is verb? You might need to add some descripti
panayiotis 2010/11/18 22:04:37 Done.
+ optional string uri = 2;
+ optional string version = 3;
+ }
+
+ optional FirstLine firstline = 1;
+ repeated HTTPHeader headers = 2;
+ optional string body = 3;
+ optional string bodydigest = 4;
+ optional int32 bodylength = 5;
+ }
+
+ message HTTPResponse {
+ message FirstLine {
+ optional int32 code = 1;
+ optional string reason = 2;
+ optional string version = 3;
+ }
+
+ optional FirstLine firstline = 1;
+ repeated HTTPHeader headers = 2;
+ optional string body = 3;
+ optional string bodydigest = 4;
+ optional int32 bodylength = 5;
+ optional string remote_ip = 6;
+ }
+
+ message Resource {
+ optional string url = 1;
+ optional string parent = 2;
+ optional string tag_name = 3;
+ optional HTTPRequest request = 4;
+ optional HTTPResponse response = 5;
+ repeated string children = 6;
+ }
+
+ optional string malware_url = 1;
+ optional string page_url = 2;
+ optional string referrer_url = 3;
+ repeated Resource nodes = 4;
+}
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/malware_report.h » ('j') | chrome/browser/safe_browsing/malware_report.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698