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

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

Issue 268673007: Extracting page shingle hashes for similarity detection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address 4th round comment. Created 6 years, 7 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 | « no previous file | chrome/common/safe_browsing/csd.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/safe_browsing/client_model.proto
diff --git a/chrome/common/safe_browsing/client_model.proto b/chrome/common/safe_browsing/client_model.proto
index 6a1a912d5f56a13f9f6cf1e1c26c2dd3f45bf76d..8216682b2af41e2bec8c967750ed7cba539876ac 100644
--- a/chrome/common/safe_browsing/client_model.proto
+++ b/chrome/common/safe_browsing/client_model.proto
@@ -88,4 +88,10 @@ message ClientSideModel {
// Murmur hash seed that was used to hash the page words.
optional fixed32 murmur_hash_seed = 8;
+
+ // Maximum number of unique shingle hashes per page.
+ optional int32 max_shingles_per_page = 9 [default = 200];
+
+ // The number of words in a shingle.
+ optional int32 shingle_size = 10 [default = 4];
}
« no previous file with comments | « no previous file | chrome/common/safe_browsing/csd.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698