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

Issue 2779643002: Use new SafeBrowsing redirect tracking code in CWS pings. (Closed)

Created:
3 years, 9 months ago by robertshield
Modified:
3 years, 7 months ago
Reviewers:
Devlin, Jialiu Lin
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use new SafeBrowsing redirect tracking code in CWS pings. The SafeBrowsing code tracks more types of redirects than the /net code which strictly adheres to spec and so can drop various types of redirects which can obscure the referrer chain. BUG=685905 Review-Url: https://codereview.chromium.org/2779643002 Cr-Commit-Position: refs/heads/master@{#468389} Committed: https://chromium.googlesource.com/chromium/src/+/39d1ffe7ba2c6fc8ebe6245472e0191b6f29aa9c

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add browser test to also test SafeBrowsing redirector implementation. #

Patch Set 3 : Be more permissive about tracked redirects in browser test. #

Patch Set 4 : cleanup #

Total comments: 10

Patch Set 5 : Devlin feedback. #

Total comments: 6

Patch Set 6 : Devlin feedback + rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -30 lines) Patch
M chrome/browser/extensions/webstore_inline_installer.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_inline_installer.cc View 1 2 3 4 5 4 chunks +74 lines, -20 lines 0 comments Download
M chrome/browser/extensions/webstore_inline_installer_browsertest.cc View 1 2 3 4 5 9 chunks +54 lines, -10 lines 0 comments Download

Messages

Total messages: 47 (35 generated)
Jialiu Lin
lgtm https://codereview.chromium.org/2779643002/diff/1/chrome/browser/extensions/webstore_inline_installer.cc File chrome/browser/extensions/webstore_inline_installer.cc (right): https://codereview.chromium.org/2779643002/diff/1/chrome/browser/extensions/webstore_inline_installer.cc#newcode143 chrome/browser/extensions/webstore_inline_installer.cc:143: navigation_observer_manager->IdentifyReferrerChainByDownloadWebContent( FYI, I updated the function name to ...
3 years, 8 months ago (2017-03-31 19:17:53 UTC) #3
robertshield
Thanks Jialiu, updated to match your latest changes. I also added a browser test to ...
3 years, 8 months ago (2017-04-13 14:30:05 UTC) #24
Devlin
Looks pretty good overall, but can you add a bit more detail either here in ...
3 years, 8 months ago (2017-04-13 15:03:07 UTC) #25
Jialiu Lin
LGTM :-)
3 years, 8 months ago (2017-04-13 15:33:02 UTC) #26
robertshield
Thanks Devlin, comments addressed. Apologies, I rebased and forgot to upload a separate patch version, ...
3 years, 8 months ago (2017-04-21 00:40:42 UTC) #32
Devlin
lgtm https://codereview.chromium.org/2779643002/diff/120001/chrome/browser/extensions/webstore_inline_installer.cc File chrome/browser/extensions/webstore_inline_installer.cc (right): https://codereview.chromium.org/2779643002/diff/120001/chrome/browser/extensions/webstore_inline_installer.cc#newcode126 chrome/browser/extensions/webstore_inline_installer.cc:126: std::unique_ptr<base::ListValue> redirect_chain = optional: auto redirect_chain = base::MakeUnique<base::ListValue>(); ...
3 years, 8 months ago (2017-04-21 17:06:11 UTC) #33
Devlin
one more :) (still lgtm) https://codereview.chromium.org/2779643002/diff/120001/chrome/browser/extensions/webstore_inline_installer.cc File chrome/browser/extensions/webstore_inline_installer.cc (right): https://codereview.chromium.org/2779643002/diff/120001/chrome/browser/extensions/webstore_inline_installer.cc#newcode117 chrome/browser/extensions/webstore_inline_installer.cc:117: Profile::FromBrowserContext(web_contents()->GetBrowserContext())); nit: profile()
3 years, 8 months ago (2017-04-21 17:10:33 UTC) #34
robertshield
Thanks! https://codereview.chromium.org/2779643002/diff/120001/chrome/browser/extensions/webstore_inline_installer.cc File chrome/browser/extensions/webstore_inline_installer.cc (right): https://codereview.chromium.org/2779643002/diff/120001/chrome/browser/extensions/webstore_inline_installer.cc#newcode117 chrome/browser/extensions/webstore_inline_installer.cc:117: Profile::FromBrowserContext(web_contents()->GetBrowserContext())); On 2017/04/21 17:10:33, Devlin wrote: > nit: ...
3 years, 8 months ago (2017-04-25 18:02:18 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2779643002/140001
3 years, 7 months ago (2017-05-01 18:57:07 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:140001) as https://chromium.googlesource.com/chromium/src/+/39d1ffe7ba2c6fc8ebe6245472e0191b6f29aa9c
3 years, 7 months ago (2017-05-01 19:49:13 UTC) #45
findit-for-me
Findit (https://goo.gl/kROfz5) identified this CL at revision 468389 as the culprit for failures in the ...
3 years, 7 months ago (2017-05-01 22:16:21 UTC) #46
sky
3 years, 7 months ago (2017-05-01 23:56:00 UTC) #47
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:140001) has been created in
https://codereview.chromium.org/2854763002/ by sky@chromium.org.

The reason for reverting is: Reverting in hopes of fixing 717315. See it for
details..

Powered by Google App Engine
This is Rietveld 408576698