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

Issue 7792004: Parse the whitelist expressions from the phishing verdict response if (Closed)

Created:
9 years, 3 months ago by noelutz
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Parse the whitelist expressions from the phishing verdict response if there are any and check to see whether the current URL matches any of these whitelisted expressions. BUG= TEST=ClientSideDetectionServiceTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98919

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address Brian's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -17 lines) Patch
M chrome/browser/safe_browsing/client_side_detection_service.h View 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service.cc View 1 2 chunks +48 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service_unittest.cc View 1 2 chunks +43 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.cc View 2 chunks +19 lines, -13 lines 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
noelutz
9 years, 3 months ago (2011-08-29 19:50:12 UTC) #1
mattm
http://codereview.chromium.org/7792004/diff/1/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc File chrome/browser/safe_browsing/client_side_detection_service_unittest.cc (right): http://codereview.chromium.org/7792004/diff/1/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc#newcode792 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc:792: url, response)); The whitelist matching against the URL seems ...
9 years, 3 months ago (2011-08-30 02:23:08 UTC) #2
noelutz
http://codereview.chromium.org/7792004/diff/1/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc File chrome/browser/safe_browsing/client_side_detection_service_unittest.cc (right): http://codereview.chromium.org/7792004/diff/1/chrome/browser/safe_browsing/client_side_detection_service_unittest.cc#newcode792 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc:792: url, response)); On 2011/08/30 02:23:09, mattm wrote: > The ...
9 years, 3 months ago (2011-08-30 16:45:11 UTC) #3
mattm
LGTM
9 years, 3 months ago (2011-08-30 23:09:41 UTC) #4
Brian Ryner
http://codereview.chromium.org/7792004/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/7792004/diff/1/chrome/browser/safe_browsing/client_side_detection_service.cc#newcode626 chrome/browser/safe_browsing/client_side_detection_service.cc:626: std::string canonical_url = host + path + query; Maybe ...
9 years, 3 months ago (2011-08-31 00:16:33 UTC) #5
noelutz
Thanks. Please take another look. noe. http://codereview.chromium.org/7792004/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/7792004/diff/1/chrome/browser/safe_browsing/client_side_detection_service.cc#newcode626 chrome/browser/safe_browsing/client_side_detection_service.cc:626: std::string canonical_url = ...
9 years, 3 months ago (2011-08-31 00:53:50 UTC) #6
Brian Ryner
LGTM
9 years, 3 months ago (2011-08-31 00:56:55 UTC) #7
commit-bot: I haz the power
9 years, 3 months ago (2011-08-31 02:59:49 UTC) #8
Change committed as 98919

Powered by Google App Engine
This is Rietveld 408576698