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

Issue 99423007: [SafeBrowsing] Reset malware indicator on page nav start. (Closed)

Created:
7 years ago by Greg Billock
Modified:
7 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

[SafeBrowsing] Save malware indicator in NavigationEntry extra data. R=mattm@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241168

Patch Set 1 #

Total comments: 9

Patch Set 2 : Add DidStartLoading #

Patch Set 3 : Update to use NavEntry extra data #

Total comments: 35

Patch Set 4 : add test #

Patch Set 5 : Rebase #

Total comments: 8

Patch Set 6 : . #

Total comments: 2

Patch Set 7 : use GetVisibleEntry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -11 lines) Patch
M chrome/browser/safe_browsing/client_side_detection_host.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.cc View 1 2 3 4 5 6 7 chunks +35 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 2 3 4 5 4 chunks +29 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
Greg Billock
7 years ago (2013-12-12 01:55:31 UTC) #1
Scott Hess - ex-Googler
This is kind of the area where I'm out of my depth. So you might ...
7 years ago (2013-12-12 21:28:44 UTC) #2
Greg Billock
https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode386 chrome/browser/safe_browsing/client_side_detection_host.cc:386: return malware_or_phishing_match_; On 2013/12/12 21:28:44, shess wrote: > I'm ...
7 years ago (2013-12-12 22:14:44 UTC) #3
mattm
https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode291 chrome/browser/safe_browsing/client_side_detection_host.cc:291: // Should this be DidStartLoading instead? Hm, I'm not ...
7 years ago (2013-12-13 00:30:00 UTC) #4
Greg Billock
https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode291 chrome/browser/safe_browsing/client_side_detection_host.cc:291: // Should this be DidStartLoading instead? On 2013/12/13 00:30:01, ...
7 years ago (2013-12-13 00:54:48 UTC) #5
mattm
https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode291 chrome/browser/safe_browsing/client_side_detection_host.cc:291: // Should this be DidStartLoading instead? On 2013/12/13 00:54:49, ...
7 years ago (2013-12-13 03:03:34 UTC) #6
Greg Billock
On 2013/12/13 03:03:34, mattm wrote: > https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc > File chrome/browser/safe_browsing/client_side_detection_host.cc (right): > > https://codereview.chromium.org/99423007/diff/1/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode291 > ...
7 years ago (2013-12-13 07:03:37 UTC) #7
Greg Billock
On 2013/12/13 07:03:37, Greg Billock wrote: > On 2013/12/13 03:03:34, mattm wrote: > > > ...
7 years ago (2013-12-13 21:09:44 UTC) #8
Greg Billock
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc File chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc#newcode53 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc:53: const bool kTrue = true; What's going with this?
7 years ago (2013-12-13 21:10:54 UTC) #9
mattm
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode1 chrome/browser/safe_browsing/client_side_detection_host.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years ago (2013-12-14 00:09:49 UTC) #10
mattm
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc File chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc#newcode379 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc:379: ASSERT_TRUE(csd_host_->DidPageReceiveSafeBrowsingMatch()); Also test of getting a match during a ...
7 years ago (2013-12-14 00:12:28 UTC) #11
Greg Billock
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode1 chrome/browser/safe_browsing/client_side_detection_host.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years ago (2013-12-14 18:35:33 UTC) #12
mattm
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode368 chrome/browser/safe_browsing/client_side_detection_host.cc:368: const SafeBrowsingUIManager::UnsafeResource& resource) { On 2013/12/14 18:35:34, Greg Billock ...
7 years ago (2013-12-16 22:36:10 UTC) #13
Greg Billock
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode368 chrome/browser/safe_browsing/client_side_detection_host.cc:368: const SafeBrowsingUIManager::UnsafeResource& resource) { On 2013/12/16 22:36:11, mattm wrote: ...
7 years ago (2013-12-16 23:00:21 UTC) #14
mattm
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode379 chrome/browser/safe_browsing/client_side_detection_host.cc:379: if (web_contents()->GetController().GetPendingEntry()) { On 2013/12/16 23:00:21, Greg Billock wrote: ...
7 years ago (2013-12-16 23:28:50 UTC) #15
Greg Billock
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode379 chrome/browser/safe_browsing/client_side_detection_host.cc:379: if (web_contents()->GetController().GetPendingEntry()) { On 2013/12/16 23:28:51, mattm wrote: > ...
7 years ago (2013-12-16 23:59:42 UTC) #16
mattm
lgtm https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode379 chrome/browser/safe_browsing/client_side_detection_host.cc:379: if (web_contents()->GetController().GetPendingEntry()) { On 2013/12/16 23:59:42, Greg Billock ...
7 years ago (2013-12-17 00:09:19 UTC) #17
Greg Billock
https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/99423007/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode379 chrome/browser/safe_browsing/client_side_detection_host.cc:379: if (web_contents()->GetController().GetPendingEntry()) { On 2013/12/17 00:09:19, mattm wrote: > ...
7 years ago (2013-12-17 00:18:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/99423007/120001
7 years ago (2013-12-17 00:28:26 UTC) #19
commit-bot: I haz the power
7 years ago (2013-12-17 06:59:20 UTC) #20
Message was sent while issue was closed.
Change committed as 241168

Powered by Google App Engine
This is Rietveld 408576698