Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2481)

Unified Diff: chrome/browser/safe_browsing/browser_feature_extractor.cc

Issue 173133004: Separate pre-classification checks for client-side malware and phishing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the service unit-test. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/browser_feature_extractor.cc
diff --git a/chrome/browser/safe_browsing/browser_feature_extractor.cc b/chrome/browser/safe_browsing/browser_feature_extractor.cc
index 522c3fc07d69a96dc57f855518a5d59cd75e4bf5..8d0bd73577bf5b4cf6d8b1f6e26d56e607fae5fa 100644
--- a/chrome/browser/safe_browsing/browser_feature_extractor.cc
+++ b/chrome/browser/safe_browsing/browser_feature_extractor.cc
@@ -262,7 +262,6 @@ void BrowserFeatureExtractor::ExtractMalwareFeatures(
ClientMalwareRequest* request,
const MalwareDoneCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- DCHECK_EQ(0U, request->url().find("http:"));
mattm 2014/03/18 02:19:06 why is this removed?
noé 2014/03/20 17:01:45 For malware we also look at HTTPS websites. This
mattm 2014/03/20 22:51:40 Ah, I had forgotten the HTTP check done in Phishin
noé 2014/03/21 00:08:38 You're right. Added a pre-classification check fo
DCHECK(!callback.is_null());
// Grab the IPs because they might go away before we're done

Powered by Google App Engine
This is Rietveld 408576698