summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_renderer.gypi
diff options
context:
space:
mode:
authorbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 00:37:45 +0000
committerbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 00:37:45 +0000
commitf4dafe029aab967bbc6ec5ad28c9f928280367f3 (patch)
tree21233b5642296b8ba402c6a1b771cce64d9d37d1 /chrome/chrome_renderer.gypi
parent92608249eb322c9075f147c2dea302fb1c65acb1 (diff)
downloadchromium_src-f4dafe029aab967bbc6ec5ad28c9f928280367f3.zip
chromium_src-f4dafe029aab967bbc6ec5ad28c9f928280367f3.tar.gz
chromium_src-f4dafe029aab967bbc6ec5ad28c9f928280367f3.tar.bz2
Add an extractor for DOM features to be used for client side phishing detection.
PhishingDOMFeatureExtractor iterates over the page elements and computes a number of features. To avoid blocking the renderer for too long, the extractor may run in several chunks of works, posting a task to continue processing if necessary. This CL only includes the feature extraction itself. I will add the logic to cap the time per iteration in a follow-up CL. BUG=none TEST=PhishingDOMFeatureExtractorTest Review URL: http://codereview.chromium.org/2878046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_renderer.gypi')
-rw-r--r--chrome/chrome_renderer.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi
index 4cb668d..ea0a539 100644
--- a/chrome/chrome_renderer.gypi
+++ b/chrome/chrome_renderer.gypi
@@ -168,6 +168,8 @@
'renderer/renderer_webstoragenamespace_impl.h',
'renderer/safe_browsing/features.cc',
'renderer/safe_browsing/features.h',
+ 'renderer/safe_browsing/phishing_dom_feature_extractor.cc',
+ 'renderer/safe_browsing/phishing_dom_feature_extractor.h',
'renderer/safe_browsing/phishing_url_feature_extractor.cc',
'renderer/safe_browsing/phishing_url_feature_extractor.h',
'renderer/spellchecker/spellcheck.cc',