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

Issue 2146803004: Create a content::FrameOwnerProperties struct for IPC transport of WebFrameOwnerProperties (Closed)

Created:
4 years, 5 months ago by raymes
Modified:
4 years, 5 months ago
Reviewers:
esprehn, alexmos, dcheng, nasko
CC:
blink-reviews, blink-reviews-api_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create a content::FrameOwnerProperties struct for IPC transport of WebFrameOwnerProperties blink::WebFrameOwnerProperties can't be sent over IPC because one of its members is a WebVector which doesn't have ParamTraits defined. We introduce a new struct in content to transfer the data. BUG=614608 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/bba82b368739017314eac8bed4ae8c5533975bf5 Cr-Commit-Position: refs/heads/master@{#406163}

Patch Set 1 #

Patch Set 2 : Transport #

Patch Set 3 : Transport #

Total comments: 9

Patch Set 4 : Transport #

Patch Set 5 : Transport #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -34 lines) Patch
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 chunks +7 lines, -4 lines 2 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 chunks +10 lines, -4 lines 2 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_message_filter.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_proxy_host.cc View 2 chunks +3 lines, -1 line 0 comments Download
M content/common/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 7 chunks +13 lines, -9 lines 0 comments Download
A content/common/frame_owner_properties.h View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A content/common/frame_owner_properties.cc View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 chunks +8 lines, -5 lines 0 comments Download
M content/renderer/render_frame_proxy.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/modules/permissions/WebPermissionType.h View 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (16 generated)
raymes
Hey guys, PTAL. I've done the most naive thing and just used the content struct ...
4 years, 5 months ago (2016-07-14 06:35:41 UTC) #4
dcheng
Blink LGTM. I don't have an opinion wrt to using FrameOwnerProperties more widely in content. ...
4 years, 5 months ago (2016-07-14 11:17:48 UTC) #5
alexmos
This seems reasonable, but it does feel a bit weird to convert the properties to ...
4 years, 5 months ago (2016-07-14 23:44:14 UTC) #6
raymes
Sounds good - I agree. I'll do that in a followup. Thanks! https://codereview.chromium.org/2146803004/diff/40001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h ...
4 years, 5 months ago (2016-07-18 03:39:28 UTC) #7
raymes
+OWNERS esprehn for third_party/WebKit/public/platform/modules/permissions/WebPermissionType.h nasko for content/common/frame_messages.h content/common/frame_owner_properties.cc content/common/frame_owner_properties.h
4 years, 5 months ago (2016-07-18 03:43:26 UTC) #9
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-18 03:43:46 UTC) #12
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-18 04:44:45 UTC) #17
nasko
If we are creating a separate type for content/, I'd rather see it used everywhere ...
4 years, 5 months ago (2016-07-18 21:59:15 UTC) #20
esprehn
lgtm
4 years, 5 months ago (2016-07-18 22:19:56 UTC) #21
nasko
I was told that the "use everywhere" is a separate CL - https://codereview.chromium.org/2156883002/. Since that's ...
4 years, 5 months ago (2016-07-19 00:13:01 UTC) #22
raymes
Thanks! https://codereview.chromium.org/2146803004/diff/80001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2146803004/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode1671 content/browser/frame_host/render_frame_host_impl.cc:1671: properties.ToWebFrameOwnerProperties(); On 2016/07/18 21:59:15, nasko wrote: > Can ...
4 years, 5 months ago (2016-07-19 00:22:00 UTC) #23
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/2146803004/80001
4 years, 5 months ago (2016-07-19 00:23:09 UTC) #26
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 00:23:11 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-19 00:42:17 UTC) #29
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 00:44:33 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bba82b368739017314eac8bed4ae8c5533975bf5
Cr-Commit-Position: refs/heads/master@{#406163}

Powered by Google App Engine
This is Rietveld 408576698