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

Issue 10387090: Pass the referrer policy with the referrer for the save package code path (Closed)

Created:
8 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, rginda+watch_chromium.org, jam, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Pass the referrer policy with the referrer for the save package code path BUG=124750 TEST=none. That code path doesn't actually use referrers, it just passes empty GURL()s around. But it might one day. And then it supports referrer policies. Hurray. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136723

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -29 lines) Patch
M content/browser/download/save_file_manager.h View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/download/save_file_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/download/save_item.h View 4 chunks +4 lines, -3 lines 0 comments Download
M content/browser/download/save_item.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/save_package.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/download/save_package.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/view_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 2 chunks +13 lines, -5 lines 1 comment Download
M webkit/glue/dom_operations.h View 2 chunks +11 lines, -5 lines 0 comments Download
M webkit/glue/dom_operations.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/glue/dom_operations_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jochen (gone - plz use gerrit)
Randy, please review avi: owner approval for content/ tony: owner approval for webkit/
8 years, 7 months ago (2012-05-11 21:04:59 UTC) #1
Avi (use Gerrit)
lgtm with nit http://codereview.chromium.org/10387090/diff/1/webkit/glue/dom_operations.h File webkit/glue/dom_operations.h (right): http://codereview.chromium.org/10387090/diff/1/webkit/glue/dom_operations.h#newcode35 webkit/glue/dom_operations.h:35: // and the corresponding referrer policies. ...
8 years, 7 months ago (2012-05-11 21:17:33 UTC) #2
jochen (gone - plz use gerrit)
updates
8 years, 7 months ago (2012-05-11 21:18:15 UTC) #3
tony
I defer to rdsmith for correctness. LGTM if it LG to him.
8 years, 7 months ago (2012-05-11 21:27:04 UTC) #4
Randy Smith (Not in Mondays)
I'd like Ben to be aware of this and give it a once over, just ...
8 years, 7 months ago (2012-05-11 22:56:44 UTC) #5
benjhayden
http://codereview.chromium.org/10387090/diff/6002/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/10387090/diff/6002/content/renderer/render_view_impl.cc#newcode4454 content/renderer/render_view_impl.cc:4454: content::Referrer(referrer_urls_list[i], referrer_policies_list[i])); Do you want to defend against referrer_policies_list.size() ...
8 years, 7 months ago (2012-05-11 23:05:36 UTC) #6
Randy Smith (Not in Mondays)
8 years, 7 months ago (2012-05-11 23:14:39 UTC) #7
LGTM.  I'm a little concerned about trusting that because I'm not particularly
familiar with the renderer side code, and Tony's counting on me :-}, but I tried
to go through it carefully.

Powered by Google App Engine
This is Rietveld 408576698