Searched refs:PhishingClassifier (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/chrome/renderer/safe_browsing/
H A Dphishing_classifier.cc36 const float PhishingClassifier::kInvalidScore = -1.0;
37 const float PhishingClassifier::kPhishyThreshold = 0.5;
39 PhishingClassifier::PhishingClassifier(content::RenderView* render_view, function in class:safe_browsing::PhishingClassifier
48 PhishingClassifier::~PhishingClassifier() {
54 void PhishingClassifier::set_phishing_scorer(const Scorer* scorer) {
78 bool PhishingClassifier::is_ready() const {
82 void PhishingClassifier::BeginClassification(
103 base::Bind(&PhishingClassifier
[all...]
H A Dphishing_classifier.h42 class PhishingClassifier { class in namespace:safe_browsing
55 // Creates a new PhishingClassifier object that will operate on
57 // the PhishingClassifier takes ownership of this object. Note that the
59 PhishingClassifier(content::RenderView* render_view,
61 virtual ~PhishingClassifier();
64 // This must live at least as long as the PhishingClassifier. The caller is
83 // |done_callback| is run on the current thread. PhishingClassifier takes
128 // Clears the current state of the PhishingClassifier.
146 base::WeakPtrFactory<PhishingClassifier> weak_factory_;
148 DISALLOW_COPY_AND_ASSIGN(PhishingClassifier);
[all...]
H A Dphishing_classifier_delegate.h5 // This class is used by the RenderView to interact with a PhishingClassifier.
19 class PhishingClassifier;
39 // Note that if classifier is null, a default instance of PhishingClassifier
42 PhishingClassifier* classifier);
69 PhishingClassifier* classifier);
102 // The PhishingClassifier to use for the RenderView. This is created once
104 scoped_ptr<PhishingClassifier> classifier_;
H A Dphishing_classifier_browsertest.cc103 classifier_.reset(new PhishingClassifier(
131 *phishy_score = PhishingClassifier::kInvalidScore;
200 scoped_ptr<PhishingClassifier> classifier_;
261 EXPECT_EQ(PhishingClassifier::kInvalidScore, phishy_score);
277 EXPECT_EQ(PhishingClassifier::kInvalidScore, phishy_score);
283 EXPECT_EQ(PhishingClassifier::kInvalidScore, phishy_score);
H A Dphishing_classifier_delegate.cc89 content::RenderView* render_view, PhishingClassifier* classifier) {
97 PhishingClassifier* classifier)
104 classifier = new PhishingClassifier(render_view,
213 if (verdict.client_score() != PhishingClassifier::kInvalidScore) {
H A Dphishing_classifier_delegate_browsertest.cc56 class MockPhishingClassifier : public PhishingClassifier {
59 : PhishingClassifier(render_view, NULL /* clock */) {}

Completed in 319 milliseconds