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

Issue 7635010: Add support for client-side phishing detection for non-UMA users. (Closed)

Created:
9 years, 4 months ago by Brian Ryner
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., chrome-anti-phishing_googlegroups.com
Visibility:
Public.

Description

Add support for client-side phishing detection for non-UMA users. In this mode, a sanitized pingback is sent that does not include the URL or any tokens extracted from the URL or page content. Currently, this feature is behind a command-line flag. BUG=none TEST=ClientSideDetectionServiceTest,BrowserFeatureExtractorTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98168 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98383

Patch Set 1 #

Patch Set 2 : Merge #

Total comments: 4

Patch Set 3 : Address Matt's review comments #

Total comments: 2

Patch Set 4 : Merge #

Total comments: 2

Patch Set 5 : rename method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+430 lines, -89 lines) Patch
M chrome/browser/safe_browsing/browser_feature_extractor.h View 1 2 3 4 4 chunks +9 lines, -59 lines 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor.cc View 1 2 3 4 3 chunks +20 lines, -25 lines 0 comments Download
M chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc View 3 chunks +50 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/browser_features.h View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/browser_features.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service.h View 1 2 3 7 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service.cc View 1 2 3 5 chunks +88 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service_unittest.cc View 1 2 3 3 chunks +105 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/renderer/safe_browsing/features.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Brian Ryner
9 years, 4 months ago (2011-08-12 00:36:39 UTC) #1
mattm
http://codereview.chromium.org/7635010/diff/1015/chrome/browser/safe_browsing/browser_feature_extractor.h File chrome/browser/safe_browsing/browser_feature_extractor.h (right): http://codereview.chromium.org/7635010/diff/1015/chrome/browser/safe_browsing/browser_feature_extractor.h#newcode78 chrome/browser/safe_browsing/browser_feature_extractor.h:78: // ClientPhishingRequest.suvfix_prefix_hash. Public for testing. suvfix http://codereview.chromium.org/7635010/diff/1015/chrome/browser/safe_browsing/client_side_detection_service.cc File chrome/browser/safe_browsing/client_side_detection_service.cc ...
9 years, 4 months ago (2011-08-12 03:00:28 UTC) #2
Brian Ryner
Please take another look. Thanks, http://codereview.chromium.org/7635010/diff/1015/chrome/browser/safe_browsing/browser_feature_extractor.h File chrome/browser/safe_browsing/browser_feature_extractor.h (right): http://codereview.chromium.org/7635010/diff/1015/chrome/browser/safe_browsing/browser_feature_extractor.h#newcode78 chrome/browser/safe_browsing/browser_feature_extractor.h:78: // ClientPhishingRequest.suvfix_prefix_hash. Public for ...
9 years, 4 months ago (2011-08-12 04:52:24 UTC) #3
noelutz
LGTM Thanks, noe. http://codereview.chromium.org/7635010/diff/5001/chrome/browser/safe_browsing/browser_features.h File chrome/browser/safe_browsing/browser_features.h (right): http://codereview.chromium.org/7635010/diff/5001/chrome/browser/safe_browsing/browser_features.h#newcode19 chrome/browser/safe_browsing/browser_features.h:19: // TODO(noelutz): move renderer/safe_browsing/features.h to common. ...
9 years, 4 months ago (2011-08-12 21:27:03 UTC) #4
Brian Ryner
http://codereview.chromium.org/7635010/diff/5001/chrome/browser/safe_browsing/browser_features.h File chrome/browser/safe_browsing/browser_features.h (right): http://codereview.chromium.org/7635010/diff/5001/chrome/browser/safe_browsing/browser_features.h#newcode19 chrome/browser/safe_browsing/browser_features.h:19: // TODO(noelutz): move renderer/safe_browsing/features.h to common. On 2011/08/12 21:27:03, ...
9 years, 4 months ago (2011-08-12 21:32:25 UTC) #5
mattm
LGTM. I think there will be some conflicts with http://codereview.chromium.org/7583007/, to make merging easier could ...
9 years, 4 months ago (2011-08-12 22:37:13 UTC) #6
Brian Ryner
I merged with http://codereview.chromium.org/7583007/ , please take another look before I submit. This also fixes ...
9 years, 4 months ago (2011-08-23 22:11:37 UTC) #7
noelutz
LGTM On 2011/08/23 22:11:37, Brian Ryner wrote: > I merged with http://codereview.chromium.org/7583007/ , please take ...
9 years, 4 months ago (2011-08-23 22:21:10 UTC) #8
noelutz
LGTM http://codereview.chromium.org/7635010/diff/14001/chrome/browser/safe_browsing/browser_feature_extractor.cc File chrome/browser/safe_browsing/browser_feature_extractor.cc (right): http://codereview.chromium.org/7635010/diff/14001/chrome/browser/safe_browsing/browser_feature_extractor.cc#newcode447 chrome/browser/safe_browsing/browser_feature_extractor.cc:447: void BrowserFeatureExtractor::ComputeURLHashes( nit: rename this function to ComputeURLHash?
9 years, 4 months ago (2011-08-23 22:21:25 UTC) #9
Brian Ryner
http://codereview.chromium.org/7635010/diff/14001/chrome/browser/safe_browsing/browser_feature_extractor.cc File chrome/browser/safe_browsing/browser_feature_extractor.cc (right): http://codereview.chromium.org/7635010/diff/14001/chrome/browser/safe_browsing/browser_feature_extractor.cc#newcode447 chrome/browser/safe_browsing/browser_feature_extractor.cc:447: void BrowserFeatureExtractor::ComputeURLHashes( On 2011/08/23 22:21:25, noelutz wrote: > nit: ...
9 years, 4 months ago (2011-08-23 23:00:50 UTC) #10
mattm
lgtm
9 years, 4 months ago (2011-08-24 03:38:02 UTC) #11
commit-bot: I haz the power
Change committed as 98168
9 years, 4 months ago (2011-08-25 02:14:02 UTC) #12
Brian Ryner
I'll try to commit this again now that http://codereview.chromium.org/7748011/ is committed.
9 years, 4 months ago (2011-08-26 00:41:50 UTC) #13
commit-bot: I haz the power
9 years, 4 months ago (2011-08-26 02:29:05 UTC) #14
Change committed as 98383

Powered by Google App Engine
This is Rietveld 408576698