Wean PhishingDOMFeatureExtractor off RenderView.
commit45c3ac2850ed4f7ef0373c0f425430db03d35692
authordglazkov <dglazkov@chromium.org>
Wed, 9 Sep 2015 20:04:41 +0000 (9 13:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 9 Sep 2015 20:05:34 +0000 (9 20:05 +0000)
tree084dcf98ac03b847db15155e4c6f651f2ae26422
parent208421f309ef2f49978f8a5fea36cffed915db6b
Wean PhishingDOMFeatureExtractor off RenderView.

The PhishingDOMFeatureExtractor does not need to know about
a RenderView. It is completely okay with just receiving a
WebDocument at the time of extraction.

BUG=521166
R=noelutz

Review URL: https://codereview.chromium.org/1325103009

Cr-Commit-Position: refs/heads/master@{#347987}
chrome/renderer/safe_browsing/phishing_classifier.cc
chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc
chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h
chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc