/external/chromium_org/chrome/renderer/safe_browsing/ |
phishing_url_feature_extractor_unittest.cc | 30 TEST_F(PhishingUrlFeatureExtractorTest, ExtractFeatures) { 42 ASSERT_TRUE(extractor_.ExtractFeatures(GURL(url), &features)); 62 ASSERT_TRUE(extractor_.ExtractFeatures(GURL(url), &features)); 73 ASSERT_TRUE(extractor_.ExtractFeatures(GURL(url), &features)); 84 ASSERT_TRUE(extractor_.ExtractFeatures(GURL(url), &features)); 97 ASSERT_TRUE(extractor_.ExtractFeatures(GURL(url), &features)); 101 EXPECT_FALSE(extractor_.ExtractFeatures(GURL(url), &features)); 104 EXPECT_FALSE(extractor_.ExtractFeatures(GURL(url), &features)); 107 EXPECT_FALSE(extractor_.ExtractFeatures(GURL(url), &features)); 110 EXPECT_FALSE(extractor_.ExtractFeatures(GURL(url), &features)) [all...] |
phishing_url_feature_extractor.h | 29 bool ExtractFeatures(const GURL& url, FeatureMap* features);
|
phishing_term_feature_extractor_unittest.cc | 90 bool ExtractFeatures(const base::string16* page_text, 94 extractor_->ExtractFeatures( 107 extractor_->ExtractFeatures( 136 bool success_; // holds the success value from ExtractFeatures 139 TEST_F(PhishingTermFeatureExtractorTest, ExtractFeatures) { 149 ASSERT_TRUE(ExtractFeatures(&page_text, &features, &shingle_hashes)); 163 ASSERT_TRUE(ExtractFeatures(&page_text, &features, &shingle_hashes)); 181 ASSERT_TRUE(ExtractFeatures(&page_text, &features, &shingle_hashes)); 199 ASSERT_TRUE(ExtractFeatures(&page_text, &features, &shingle_hashes)); 225 ASSERT_TRUE(ExtractFeatures(&page_text, &features, &shingle_hashes)) [all...] |
phishing_dom_feature_extractor_browsertest.cc | 94 bool ExtractFeatures(FeatureMap* features) { 106 extractor_->ExtractFeatures( 185 bool success_; // holds the success value from ExtractFeatures 208 ASSERT_TRUE(ExtractFeatures(&features)); 220 ASSERT_TRUE(ExtractFeatures(&features)); 230 ASSERT_TRUE(ExtractFeatures(&features)); 240 ASSERT_TRUE(ExtractFeatures(&features)); 262 ASSERT_TRUE(ExtractFeatures(&features)); 291 ASSERT_TRUE(ExtractFeatures(&features)); 307 ASSERT_TRUE(ExtractFeatures(&features)) [all...] |
phishing_dom_feature_extractor.h | 57 void ExtractFeatures(FeatureMap* features, const DoneCallback& done_callback); 81 // Does the actual work of ExtractFeatures. ExtractFeaturesWithTimeout runs 132 // The output parameters from the most recent call to ExtractFeatures().
|
phishing_term_feature_extractor.h | 80 void ExtractFeatures(const base::string16* page_text, 106 // Does the actual work of ExtractFeatures. ExtractFeaturesWithTimeout runs 151 // The output parameters from the most recent call to ExtractFeatures().
|
phishing_classifier.cc | 135 if (!url_extractor_->ExtractFeatures(url, features_.get())) { 142 dom_extractor_->ExtractFeatures( 163 term_extractor_->ExtractFeatures(
|
phishing_url_feature_extractor.cc | 26 bool PhishingUrlFeatureExtractor::ExtractFeatures(const GURL& url,
|
phishing_term_feature_extractor.cc | 108 void PhishingTermFeatureExtractor::ExtractFeatures(
|
phishing_dom_feature_extractor.cc | 116 void PhishingDOMFeatureExtractor::ExtractFeatures(
|
/external/chromium_org/chrome/browser/safe_browsing/ |
browser_feature_extractor_unittest.cc | 148 bool ExtractFeatures(ClientPhishingRequest* request) { 158 extractor_->ExtractFeatures( 219 // the test case which passed it to ExtractFeatures above. 245 EXPECT_FALSE(ExtractFeatures(&request)); 253 EXPECT_FALSE(ExtractFeatures(&request)); 290 EXPECT_TRUE(ExtractFeatures(&request)); 308 EXPECT_TRUE(ExtractFeatures(&request)); 379 EXPECT_TRUE(ExtractFeatures(&request)); 418 EXPECT_TRUE(ExtractFeatures(&request)); 471 EXPECT_TRUE(ExtractFeatures(&request)) [all...] |
browser_feature_extractor.h | 117 // ExtractFeatures returns. This method must run on the UI thread. 118 virtual void ExtractFeatures(const BrowseInfo* info,
|
client_side_detection_host_unittest.cc | 187 MOCK_METHOD3(ExtractFeatures, 463 EXPECT_CALL(*mock_extractor, ExtractFeatures(_, _, _)).Times(0); 483 EXPECT_CALL(*mock_extractor, ExtractFeatures(_, _, _)) 515 EXPECT_CALL(*mock_extractor, ExtractFeatures(_, _, _)) 548 EXPECT_CALL(*mock_extractor, ExtractFeatures(_, _, _)) 602 EXPECT_CALL(*mock_extractor, ExtractFeatures(_, _, _)) 686 EXPECT_CALL(*mock_extractor, ExtractFeatures(_, _, _)).Times(0); [all...] |
browser_feature_extractor.cc | 179 void BrowserFeatureExtractor::ExtractFeatures(const BrowseInfo* info,
|
client_side_detection_host.cc | 575 feature_extractor_->ExtractFeatures(
|