HomeSort by relevance Sort by last modified time
    Searched full:page_text (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/chrome/renderer/safe_browsing/
phishing_term_feature_extractor_unittest.cc 79 // Runs the TermFeatureExtractor on |page_text|, waiting for the
81 bool ExtractFeatures(const base::string16* page_text, FeatureMap* features) {
84 page_text,
92 void PartialExtractFeatures(const base::string16* page_text,
95 page_text,
129 base::string16 page_text = ASCIIToUTF16("blah"); local
133 ASSERT_TRUE(ExtractFeatures(&page_text, &features));
136 page_text = ASCIIToUTF16("one one");
144 ASSERT_TRUE(ExtractFeatures(&page_text, &features));
147 page_text = ASCIIToUTF16("bla bla multi word test bla")
    [all...]
phishing_classifier_delegate_browsertest.cc 178 void PageCaptured(base::string16* page_text, bool preliminary_capture) {
181 base::Unretained(delegate_), page_text,
275 base::string16 page_text = ASCIIToUTF16("dummy"); local
279 EXPECT_CALL(*classifier_, BeginClassification(Pointee(page_text), _));
280 PageCaptured(&page_text, false);
295 page_text = ASCIIToUTF16("dummy");
297 PageCaptured(&page_text, false);
315 page_text = ASCIIToUTF16("dummy");
317 PageCaptured(&page_text, false);
327 page_text = ASCIIToUTF16("dummy")
409 base::string16 page_text = ASCIIToUTF16("dummy"); local
443 base::string16 page_text = ASCIIToUTF16("dummy"); local
474 base::string16 page_text = ASCIIToUTF16("phish"); local
546 base::string16 page_text = ASCIIToUTF16("phish"); local
574 base::string16 page_text = ASCIIToUTF16("phish"); local
603 base::string16 page_text = ASCIIToUTF16("phish"); local
    [all...]
phishing_classifier_browsertest.cc 106 bool RunPhishingClassifier(const base::string16* page_text,
114 page_text, phishy_score, features, &verdict));
118 void DoRunPhishingClassifier(const base::string16* page_text,
128 page_text,
221 base::string16 page_text = ASCIIToUTF16("login"); local
227 EXPECT_TRUE(RunPhishingClassifier(&page_text, &phishy_score, &features));
239 EXPECT_FALSE(RunPhishingClassifier(&page_text, &phishy_score, &features));
250 EXPECT_FALSE(RunPhishingClassifier(&page_text, &phishy_score, &features));
266 EXPECT_FALSE(RunPhishingClassifier(&page_text, &phishy_score, &features));
272 EXPECT_FALSE(RunPhishingClassifier(&page_text, &phishy_score, &features))
    [all...]
phishing_term_feature_extractor.h 60 // Begins extracting features from |page_text| into the given FeatureMap.
61 // |page_text| should contain the plain text of a web page, including any
70 // |page_text| and |features| are owned by the caller, and must not be
73 void ExtractFeatures(const base::string16* page_text,
phishing_classifier.h 72 // the feature extraction and scoring process. |page_text| should contain
74 // RenderView::CaptureText(). |page_text| is owned by the caller, and must
86 virtual void BeginClassification(const base::string16* page_text,
phishing_classifier.cc 81 const base::string16* page_text,
92 page_text_ = page_text;
phishing_classifier_delegate.cc 164 void PhishingClassifierDelegate::PageCaptured(base::string16* page_text,
176 classifier_page_text_.swap(*page_text);
phishing_term_feature_extractor.cc 116 const base::string16* page_text,
126 page_text_ = page_text;
phishing_classifier_delegate.h 54 void PageCaptured(base::string16* page_text, bool preliminary_capture);

Completed in 170 milliseconds