summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests.gypi
diff options
context:
space:
mode:
authorbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-21 18:48:35 +0000
committerbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-21 18:48:35 +0000
commit40ad1d9e2457a1c24c568993f19da74271e25477 (patch)
tree6ab185c0f08540fa23c4e956ba1780b293f200f5 /chrome/chrome_tests.gypi
parent8046f3f642f5a530a3e72a189304c070b3ebdf5a (diff)
downloadchromium_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_tests.gypi')
-rw-r--r--chrome/chrome_tests.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index acdbca3..8638e0e 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -1368,6 +1368,7 @@
'renderer/renderer_about_handler_unittest.cc',
'renderer/renderer_main_unittest.cc',
'renderer/safe_browsing/features_unittest.cc',
+ 'renderer/safe_browsing/mock_feature_extractor_clock.h',
'renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc',
'renderer/safe_browsing/phishing_url_feature_extractor_unittest.cc',
'renderer/safe_browsing/scorer_unittest.cc',
@@ -1795,6 +1796,8 @@
'renderer/pepper_devices_browsertest.cc',
'renderer/render_view_browsertest.cc',
'renderer/render_view_browsertest_mac.mm',
+ 'renderer/safe_browsing/mock_feature_extractor_clock.h',
+ 'renderer/safe_browsing/phishing_classifier_browsertest.cc',
'renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc',
'renderer/safe_browsing/render_view_fake_resources_test.cc',
'renderer/safe_browsing/render_view_fake_resources_test.h',