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; |
+} |