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

Issue 1509073002: Fixes for Safe Browsing with unrelated pending navigations. (Closed)

Created:
5 years ago by mattm
Modified:
5 years ago
CC:
grt+watch_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, darin-cc_chromium.org, meacer, Jialiu Lin, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes for Safe Browsing with unrelated pending navigations. BUG=546226 Committed: https://crrev.com/bfc4060d7805f12c2417fc71a1a544cfb63e88f2 Cr-Commit-Position: refs/heads/master@{#366195}

Patch Set 1 : . #

Total comments: 26

Patch Set 2 : rebase #

Patch Set 3 : review changes, naventry null checks #

Total comments: 6

Patch Set 4 : review changes for comment #10 #

Total comments: 15

Patch Set 5 : review changes for comment #13-15 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1052 lines, -126 lines) Patch
M chrome/browser/safe_browsing/client_side_detection_host.cc View 1 2 3 4 3 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 2 5 chunks +68 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 4 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 9 chunks +20 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 4 chunks +24 lines, -13 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 1 2 6 chunks +197 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 1 2 3 4 16 chunks +330 lines, -14 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details.cc View 1 2 3 4 2 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_unittest.cc View 1 2 3 4 8 chunks +191 lines, -26 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.h View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 1 2 4 chunks +42 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager_unittest.cc View 7 chunks +68 lines, -17 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui.cc View 1 2 3 4 3 chunks +25 lines, -12 lines 0 comments Download
A chrome/test/data/safe_browsing/malware_delayed_loads.html View 1 chunk +17 lines, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
mattm
nparker, creis: please review meacer: fyi One note: I'm a little uneasy about removing the ...
5 years ago (2015-12-08 05:36:45 UTC) #4
Charlie Reis
On 2015/12/08 05:36:45, mattm wrote: > nparker, creis: please review > meacer: fyi Thanks for ...
5 years ago (2015-12-11 05:39:25 UTC) #5
Nathan Parker
I actually would defer to Charlie for naventry lifetime questions. As for functionality, I'm glad ...
5 years ago (2015-12-11 19:48:07 UTC) #6
Charlie Reis
https://codereview.chromium.org/1509073002/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/1509073002/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode408 chrome/browser/safe_browsing/client_side_detection_host.cc:408: if (!web_contents()) On 2015/12/11 19:48:06, nparker wrote: > On ...
5 years ago (2015-12-11 21:10:04 UTC) #7
Nathan Parker
5 years ago (2015-12-11 22:58:11 UTC) #8
mattm
https://codereview.chromium.org/1509073002/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/1509073002/diff/40001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode408 chrome/browser/safe_browsing/client_side_detection_host.cc:408: if (!web_contents()) On 2015/12/11 05:39:24, Charlie Reis wrote: > ...
5 years ago (2015-12-15 01:42:25 UTC) #9
Nathan Parker
lgtm https://codereview.chromium.org/1509073002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc File chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc (right): https://codereview.chromium.org/1509073002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc#newcode1070 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc:1070: "document.body.appendChild(img);")); odd formatting https://codereview.chromium.org/1509073002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc#newcode1092 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc:1092: namespace { I'm ...
5 years ago (2015-12-16 23:30:24 UTC) #10
mattm
+bauerb for chrome/browser/ui/webui/interstitials/ OWNERS https://codereview.chromium.org/1509073002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc File chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc (right): https://codereview.chromium.org/1509073002/diff/80001/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc#newcode1070 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc:1070: "document.body.appendChild(img);")); On 2015/12/16 23:30:24, nparker ...
5 years ago (2015-12-17 01:43:57 UTC) #12
Bernhard Bauer
LGTM with some small nits: https://codereview.chromium.org/1509073002/diff/100001/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/1509073002/diff/100001/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc#newcode753 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc:753: OnPhishingDetectionDoneVerdictNotPhishingButSBMatchOnSubresourceWhileNavPending) { Umm... I ...
5 years ago (2015-12-17 16:02:02 UTC) #13
Bernhard Bauer
Also, is there a reason why this CL is protected?
5 years ago (2015-12-17 16:54:25 UTC) #14
Charlie Reis
One more null check needed in threat_details.cc. Otherwise the uses of NavigationEntry LGTM, and mainly ...
5 years ago (2015-12-17 19:24:19 UTC) #15
mattm
https://codereview.chromium.org/1509073002/diff/100001/chrome/browser/safe_browsing/client_side_detection_host.cc File chrome/browser/safe_browsing/client_side_detection_host.cc (right): https://codereview.chromium.org/1509073002/diff/100001/chrome/browser/safe_browsing/client_side_detection_host.cc#newcode683 chrome/browser/safe_browsing/client_side_detection_host.cc:683: // be used since it may no longer by ...
5 years ago (2015-12-18 21:41:04 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509073002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509073002/120001
5 years ago (2015-12-18 21:43:39 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years ago (2015-12-18 23:11:49 UTC) #22
commit-bot: I haz the power
5 years ago (2015-12-18 23:12:58 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bfc4060d7805f12c2417fc71a1a544cfb63e88f2
Cr-Commit-Position: refs/heads/master@{#366195}

Powered by Google App Engine
This is Rietveld 408576698