diff options
author | bryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-21 18:48:35 +0000 |
---|---|---|
committer | bryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-21 18:48:35 +0000 |
commit | 40ad1d9e2457a1c24c568993f19da74271e25477 (patch) | |
tree | 6ab185c0f08540fa23c4e956ba1780b293f200f5 /chrome/chrome_renderer.gypi | |
parent | 8046f3f642f5a530a3e72a189304c070b3ebdf5a (diff) | |
download | chromium_src-40ad1d9e2457a1c24c568993f19da74271e25477.zip chromium_src-40ad1d9e2457a1c24c568993f19da74271e25477.tar.gz chromium_src-40ad1d9e2457a1c24c568993f19da74271e25477.tar.bz2 |
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
Diffstat (limited to 'chrome/chrome_renderer.gypi')
-rw-r--r-- | chrome/chrome_renderer.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
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', |