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

Issue 7408001: If we show a SafeBrowsing warning we always send the client-side detection (Closed)

Created:
9 years, 5 months ago by noelutz
Modified:
9 years, 5 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

If we show a SafeBrowsing warning we always send the client-side detection ping back to the server. That will be used to detect client-side false negatives as well as help us train a model for FakeAV pages. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93534

Patch Set 1 #

Total comments: 27

Patch Set 2 : Address everyone's comments #

Patch Set 3 : Merge #

Messages

Total messages: 8 (0 generated)
noelutz
9 years, 5 months ago (2011-07-19 15:29:01 UTC) #1
Garrett Casto
http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode347 chrome/browser/safe_browsing/client_side_detection_host.cc:347: // ID and store it for later. For phishing ...
9 years, 5 months ago (2011-07-19 21:18:48 UTC) #2
mattm
http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_service.cc File chrome/browser/safe_browsing/client_side_detection_service.cc (right): http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_service.cc#newcode339 chrome/browser/safe_browsing/client_side_detection_service.cc:339: bool isphishing = false; nit: is_phishing http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/safe_browsing_service.cc File chrome/browser/safe_browsing/safe_browsing_service.cc ...
9 years, 5 months ago (2011-07-19 21:25:55 UTC) #3
Brian Ryner
http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode481 chrome/browser/safe_browsing/client_side_detection_host.cc:481: tab_contents()->controller().GetActiveEntry()->unique_id() == You could avoid some of the repetition ...
9 years, 5 months ago (2011-07-19 21:27:09 UTC) #4
noelutz
Thanks for your comments. Please take another look. Thanks, noe. http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode347 ...
9 years, 5 months ago (2011-07-19 22:28:08 UTC) #5
Brian Ryner
LGTM http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc File chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (right): http://codereview.chromium.org/7408001/diff/1/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc#newcode478 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc:478: .WillOnce(DoAll(DeleteArg<0>(), QuitUIMessageLoop())); On 2011/07/19 22:28:08, noelutz wrote: > ...
9 years, 5 months ago (2011-07-19 22:35:24 UTC) #6
mattm
lgtm
9 years, 5 months ago (2011-07-20 23:55:40 UTC) #7
commit-bot: I haz the power
9 years, 5 months ago (2011-07-22 03:08:54 UTC) #8
Change committed as 93534

Powered by Google App Engine
This is Rietveld 408576698