Add URL-based features for client-side phishing detection.
This change implements the URL-based features that we'll use for client-side
phishing detection. Right now, the features are simply inserted into a map.
Later changes will add content-based features, scoring, and hook up the code to
run after page load is finished.
BUG=none
TEST=PhishingUrlFeatureExtractorTest, PhishingFeaturesTest
Review URL: http://codereview.chromium.org/2843036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51922 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi
index 4c94873..1b27e29 100644
--- a/chrome/chrome_renderer.gypi
+++ b/chrome/chrome_renderer.gypi
@@ -160,6 +160,10 @@
'renderer/renderer_webstoragearea_impl.h',
'renderer/renderer_webstoragenamespace_impl.cc',
'renderer/renderer_webstoragenamespace_impl.h',
+ 'renderer/safe_browsing/features.cc',
+ 'renderer/safe_browsing/features.h',
+ 'renderer/safe_browsing/phishing_url_feature_extractor.cc',
+ 'renderer/safe_browsing/phishing_url_feature_extractor.h',
'renderer/spellchecker/spellcheck.cc',
'renderer/spellchecker/spellcheck.h',
'renderer/spellchecker/spellcheck_worditerator.cc',