/external/chromium_org/chrome/renderer/safe_browsing/ |
phishing_classifier_browsertest.cc | 94 bool RunPhishingClassifier(const string16* page_text, 102 page_text, 151 string16 page_text = ASCIIToUTF16("login"); local 154 EXPECT_TRUE(RunPhishingClassifier(&page_text, &phishy_score, &features)); 168 EXPECT_FALSE(RunPhishingClassifier(&page_text, &phishy_score, &features)); 180 EXPECT_FALSE(RunPhishingClassifier(&page_text, &phishy_score, &features)); 187 EXPECT_FALSE(RunPhishingClassifier(&page_text, &phishy_score, &features)); 193 EXPECT_FALSE(RunPhishingClassifier(&page_text, &phishy_score, &features));
|
phishing_classifier_delegate_browsertest.cc | 118 string16 page_text = ASCIIToUTF16("dummy"); local 122 EXPECT_CALL(*classifier, BeginClassification(Pointee(page_text), _)); 123 delegate->PageCaptured(&page_text, false); 135 page_text = ASCIIToUTF16("dummy"); 137 delegate->PageCaptured(&page_text, false); 149 page_text = ASCIIToUTF16("dummy"); 151 delegate->PageCaptured(&page_text, false); 160 page_text = ASCIIToUTF16("dummy"); 162 delegate->PageCaptured(&page_text, false); 169 page_text = ASCIIToUTF16("dummy2") 236 string16 page_text = ASCIIToUTF16("dummy"); local 274 string16 page_text = ASCIIToUTF16("dummy"); local 310 string16 page_text = ASCIIToUTF16("phish"); local 383 string16 page_text = ASCIIToUTF16("phish"); local 416 string16 page_text = ASCIIToUTF16("phish"); local 450 string16 page_text = ASCIIToUTF16("phish"); local [all...] |
phishing_term_feature_extractor_unittest.cc | 79 // Runs the TermFeatureExtractor on |page_text|, waiting for the 81 bool ExtractFeatures(const string16* page_text, FeatureMap* features) { 84 page_text, 92 void PartialExtractFeatures(const string16* page_text, FeatureMap* features) { 94 page_text, 128 string16 page_text = ASCIIToUTF16("blah"); local 132 ASSERT_TRUE(ExtractFeatures(&page_text, &features)); 135 page_text = ASCIIToUTF16("one one"); 143 ASSERT_TRUE(ExtractFeatures(&page_text, &features)); 146 page_text = ASCIIToUTF16("bla bla multi word test bla") [all...] |