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

Issue 2601303002: Wireup SafeBrowsingNavigationObserverManager to help PPAPI download attribution (Closed)

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

Description

Identify download referrer chain of PPAPI download based on initiating frame url. Also address attribution corner case where new tab navigation immediately followed by a server side redirection (and add browser test for it). BUG=676691 Review-Url: https://codereview.chromium.org/2601303002 Cr-Commit-Position: refs/heads/master@{#441794} Committed: https://chromium.googlesource.com/chromium/src/+/af664d30ba29fd8e744f5b94fc3d9702ccdf09f6

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 16

Patch Set 3 : address nparker's comments and rebase #

Patch Set 4 : address new tab navigation + server redirection #

Patch Set 5 : nit #

Patch Set 6 : move tab_id and has_user_gesture computation to PPAPIDownloadRequest constructor instead #

Total comments: 2

Patch Set 7 : add check for rfh #

Messages

Total messages: 36 (24 generated)
Jialiu Lin
Happy New Year! This CL wire up SafeBrowsingNavigationObserverManager to trace back navigation events that lead ...
3 years, 11 months ago (2017-01-03 18:38:34 UTC) #9
Nathan Parker
lgtm https://codereview.chromium.org/2601303002/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/2601303002/diff/20001/chrome/browser/file_select_helper.cc#newcode550 chrome/browser/file_select_helper.cc:550: WebContents::FromRenderFrameHost(render_frame_host_), possible idea: Do you want to just ...
3 years, 11 months ago (2017-01-04 19:49:12 UTC) #12
Jialiu Lin
Thanks nparker! asanka@, let me know if you have any comments. +holte@ for tiny change ...
3 years, 11 months ago (2017-01-04 21:53:35 UTC) #14
Steven Holte
histograms lgtm
3 years, 11 months ago (2017-01-04 22:02:25 UTC) #15
jochen (gone - plz use gerrit)
lgtm
3 years, 11 months ago (2017-01-04 22:24:55 UTC) #16
asanka
whoops. I thought I sent out these comments already. https://codereview.chromium.org/2601303002/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/2601303002/diff/20001/chrome/browser/file_select_helper.cc#newcode550 chrome/browser/file_select_helper.cc:550: ...
3 years, 11 months ago (2017-01-05 18:00:44 UTC) #21
Jialiu Lin
Thanks, asanka@! I moved the tab_id and has_user_gesture computation to the PPAPIDownloadRequest constructor as you ...
3 years, 11 months ago (2017-01-05 20:12:21 UTC) #25
asanka
https://codereview.chromium.org/2601303002/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/2601303002/diff/20001/chrome/browser/file_select_helper.cc#newcode550 chrome/browser/file_select_helper.cc:550: WebContents::FromRenderFrameHost(render_frame_host_), On 2017/01/05 at 20:12:21, Jialiu Lin wrote: > ...
3 years, 11 months ago (2017-01-05 20:35:31 UTC) #26
Jialiu Lin
Thanks, asanka@! https://codereview.chromium.org/2601303002/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/2601303002/diff/20001/chrome/browser/file_select_helper.cc#newcode550 chrome/browser/file_select_helper.cc:550: WebContents::FromRenderFrameHost(render_frame_host_), On 2017/01/05 20:35:31, asanka wrote: > ...
3 years, 11 months ago (2017-01-05 22:10:13 UTC) #29
asanka
Thanks! lgtm
3 years, 11 months ago (2017-01-05 22:30:51 UTC) #30
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/2601303002/140001
3 years, 11 months ago (2017-01-05 22:32:54 UTC) #33
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 01:35:36 UTC) #36
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/af664d30ba29fd8e744f5b94fc3d...

Powered by Google App Engine
This is Rietveld 408576698