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

Issue 2578363002: Wire up download attribution enable finch experiment (Closed)

Created:
4 years ago by Jialiu Lin
Modified:
3 years, 12 months ago
CC:
chromium-reviews, grt+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add new download attribution logic to download protection service and enable finch trial (a.k.a 50% on Canary only) Also, a minor bug fixing in handling user gesture. BUG=639467, 667784 Committed: https://crrev.com/4e3c4b4536b96f914132d4c53f70b65fadeaf87d Cr-Commit-Position: refs/heads/master@{#440162}

Patch Set 1 #

Patch Set 2 : bug fixing and nits #

Patch Set 3 : tunning user gesture #

Total comments: 1

Patch Set 4 : Re-enable SingleMetaRefreshRedirectTargetBlank on linux #

Total comments: 10

Patch Set 5 : address comments from nparker@ #

Patch Set 6 : nit #

Total comments: 6

Patch Set 7 : Remove unnecessary includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -53 lines) Patch
M chrome/browser/safe_browsing/download_protection_service.h View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.cc View 1 2 3 4 8 chunks +47 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc View 1 2 3 4 5 3 chunks +19 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer_browsertest.cc View 1 2 3 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.h View 1 4 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager.cc View 1 4 chunks +23 lines, -27 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.h View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service.cc View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (27 generated)
Jialiu Lin
Hi nparker@, Could you take a look at this short CL? It wires up download ...
4 years ago (2016-12-19 21:22:44 UTC) #12
Jialiu Lin
clamy@, I added two more tests to browser-side-navigation.linux.browser_tests.filter. They are failing because of the same ...
4 years ago (2016-12-19 22:55:54 UTC) #18
Nathan Parker
I mostly have little questions, nothing critical. LGTM https://codereview.chromium.org/2578363002/diff/60001/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/2578363002/diff/60001/chrome/browser/safe_browsing/download_protection_service.cc#newcode1824 chrome/browser/safe_browsing/download_protection_service.cc:1824: *out_request->add_referrer_chain() ...
4 years ago (2016-12-20 01:01:33 UTC) #22
Jialiu Lin
Thanks! https://codereview.chromium.org/2578363002/diff/60001/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/2578363002/diff/60001/chrome/browser/safe_browsing/download_protection_service.cc#newcode1824 chrome/browser/safe_browsing/download_protection_service.cc:1824: *out_request->add_referrer_chain() = entry; On 2016/12/20 at 01:01:33, Nathan ...
4 years ago (2016-12-20 02:07:51 UTC) #25
Jialiu Lin
avi@chromium.org: Please review changes in tab_helper.cc
4 years ago (2016-12-20 02:11:03 UTC) #27
Avi (use Gerrit)
https://codereview.chromium.org/2578363002/diff/100001/chrome/browser/ui/tab_helpers.cc File chrome/browser/ui/tab_helpers.cc (right): https://codereview.chromium.org/2578363002/diff/100001/chrome/browser/ui/tab_helpers.cc#newcode35 chrome/browser/ui/tab_helpers.cc:35: #include "chrome/browser/safe_browsing/safe_browsing_service.h" It doesn't seem like you need this ...
4 years ago (2016-12-20 02:44:26 UTC) #28
Jialiu Lin
I moved some checking logic in previous patch and forgot to clean up includes. Thanks ...
4 years ago (2016-12-20 03:16:54 UTC) #29
clamy
Lgtm
4 years ago (2016-12-20 14:35:13 UTC) #30
Jialiu Lin
avi@, let me know if you have other comments. Thanks!
4 years ago (2016-12-20 23:44:30 UTC) #31
Avi (use Gerrit)
lgtm
4 years ago (2016-12-21 04:09:48 UTC) #32
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/2578363002/120001
3 years, 12 months ago (2016-12-21 17:34:56 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:120001)
3 years, 12 months ago (2016-12-21 18:39:32 UTC) #38
commit-bot: I haz the power
3 years, 12 months ago (2016-12-21 18:41:39 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4e3c4b4536b96f914132d4c53f70b65fadeaf87d
Cr-Commit-Position: refs/heads/master@{#440162}

Powered by Google App Engine
This is Rietveld 408576698