From 40ad1d9e2457a1c24c568993f19da74271e25477 Mon Sep 17 00:00:00 2001 From: "bryner@chromium.org" Date: Tue, 21 Sep 2010 18:48:35 +0000 Subject: Add a PhishingClassifier implementation. The PhishingClassifier ties together the feature extractors and the scorer, and will be invoked by the RenderView when a page finishes loading. This change also makes the feature extractors have a non-owned pointer to the clock so that it can be shared, and fixes a problem where the DOM feature extractor cleared out any already-present features. BUG=none TEST=PhishingClassifierTest Review URL: http://codereview.chromium.org/3452010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60082 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_renderer.gypi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/chrome_renderer.gypi') diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi index 38e122f..cf5219e 100644 --- a/chrome/chrome_renderer.gypi +++ b/chrome/chrome_renderer.gypi @@ -199,6 +199,8 @@ 'renderer/safe_browsing/feature_extractor_clock.h', 'renderer/safe_browsing/features.cc', 'renderer/safe_browsing/features.h', + 'renderer/safe_browsing/phishing_classifier.cc', + 'renderer/safe_browsing/phishing_classifier.h', 'renderer/safe_browsing/phishing_dom_feature_extractor.cc', 'renderer/safe_browsing/phishing_dom_feature_extractor.h', 'renderer/safe_browsing/phishing_term_feature_extractor.cc', -- cgit v1.1