Index: chrome/common/safe_browsing/csd.proto |
diff --git a/chrome/common/safe_browsing/csd.proto b/chrome/common/safe_browsing/csd.proto |
index 983b79c7baa59b73704aee53f292e8e2966fd350..b700326f4c285f43de99229a7f4ae6c8fa0d05f8 100644 |
--- a/chrome/common/safe_browsing/csd.proto |
+++ b/chrome/common/safe_browsing/csd.proto |
@@ -17,8 +17,13 @@ package safe_browsing; |
message ClientPhishingRequest { |
// URL that the client visited. The CGI parameters are stripped by the |
- // client. |
- required string url = 1; |
+ // client. This field is ONLY set for UMA-enabled users. |
+ optional string url = 1; |
+ |
+ // A 5-byte SHA-256 hash prefix of the URL, in SafeBrowsing host sufffix/path |
+ // prefix form with query parameters stripped (i.e. "www.example.com/1/2/"). |
+ // Unlike "url", this is sent for all users. |
+ optional bytes suffix_prefix_hash = 10; |
// Score that was computed on the client. Value is between 0.0 and 1.0. |
// The larger the value the more likely the url is phishing. |