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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier.cc

Issue 7866011: Switch to the new client-side phishing model that uses Murmurhash for word hashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile problems and add another test Created 9 years, 3 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
Index: chrome/renderer/safe_browsing/phishing_classifier.cc
diff --git a/chrome/renderer/safe_browsing/phishing_classifier.cc b/chrome/renderer/safe_browsing/phishing_classifier.cc
index f2323d1c33d5f4eafd14660f1b64c4bf239b60e4..1da1a50019835ec88813ae9f1ac54009974116ed 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier.cc
+++ b/chrome/renderer/safe_browsing/phishing_classifier.cc
@@ -60,6 +60,7 @@ void PhishingClassifier::set_phishing_scorer(const Scorer* scorer) {
&scorer_->page_terms(),
&scorer_->page_words(),
scorer_->max_words_per_term(),
+ scorer_->murmurhash3_seed(),
clock_.get()));
}

Powered by Google App Engine
This is Rietveld 408576698