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

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

Issue 7635010: Add support for client-side phishing detection for non-UMA users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename method Created 9 years, 4 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/safe_browsing/features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/safe_browsing/features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698