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

Issue 217163007: Introduce RenderFrameProxyHost object and use it in RFHM. (Closed)

Created:
6 years, 8 months ago by nasko
Modified:
6 years, 8 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Introduce RenderFrameProxyHost object and use it in RFHM. This is the first CL in a series to create RenderFrameProxy(Host) infrastructure. Before the Blink codebase is ready to transform local and remote frames, the proxy objects will keep internally the existing RF/RFH in swapped out state. This CL creates the browser side proxy object and wraps the swapped out RFH. BUG=357747 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263352

Patch Set 1 #

Patch Set 2 : Some refactoring/renaming. #

Patch Set 3 : Proxies shouldn't be scoped_ptrs. #

Patch Set 4 : A gross hack to fix CancelPending. #

Total comments: 20

Patch Set 5 : Address Charlie's comments. #

Total comments: 49

Patch Set 6 : Fixes for Charlie's comments. #

Patch Set 7 : Add a test for RFH lifetime during CancelPending. #

Total comments: 12

Patch Set 8 : Another round of fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -136 lines) Patch
M content/browser/frame_host/render_frame_host_manager.h View 1 2 3 4 5 5 chunks +15 lines, -14 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 7 22 chunks +130 lines, -122 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 4 5 6 7 2 chunks +81 lines, -0 lines 0 comments Download
A content/browser/frame_host/render_frame_proxy_host.h View 1 2 3 4 5 6 7 1 chunk +88 lines, -0 lines 0 comments Download
A content/browser/frame_host/render_frame_proxy_host.cc View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
nasko
Hey Charlie, Can you take a look at this? The goal of this CL is ...
6 years, 8 months ago (2014-03-31 21:24:56 UTC) #1
Charlie Reis
Very excited to see this first step-- I'm looking forward to a time when we ...
6 years, 8 months ago (2014-03-31 23:22:35 UTC) #2
nasko
A round of fixes. https://codereview.chromium.org/217163007/diff/60001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (right): https://codereview.chromium.org/217163007/diff/60001/content/browser/frame_host/render_frame_host_impl.h#newcode264 content/browser/frame_host/render_frame_host_impl.h:264: bool created_for_pending_; On 2014/03/31 23:22:35, ...
6 years, 8 months ago (2014-04-09 17:52:00 UTC) #3
Charlie Reis
Thanks. The comment in RFPH is hugely helpful. I still have some questions below, but ...
6 years, 8 months ago (2014-04-09 21:48:30 UTC) #4
nasko
Fixes for all comments. https://codereview.chromium.org/217163007/diff/80001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/217163007/diff/80001/content/browser/frame_host/render_frame_host_manager.cc#newcode454 content/browser/frame_host/render_frame_host_manager.cc:454: DCHECK_NE(iter->second->render_frame_host()->GetSiteInstance(), On 2014/04/09 21:48:30, Charlie ...
6 years, 8 months ago (2014-04-10 20:37:36 UTC) #5
nasko
I added a test case for CancelPending.
6 years, 8 months ago (2014-04-10 22:25:19 UTC) #6
Charlie Reis
Great. LGTM with the comments below. https://codereview.chromium.org/217163007/diff/80001/content/browser/frame_host/render_frame_proxy_host.h File content/browser/frame_host/render_frame_proxy_host.h (right): https://codereview.chromium.org/217163007/diff/80001/content/browser/frame_host/render_frame_proxy_host.h#newcode36 content/browser/frame_host/render_frame_proxy_host.h:36: // exist at ...
6 years, 8 months ago (2014-04-11 17:42:53 UTC) #7
nasko
Moar fixes! https://codereview.chromium.org/217163007/diff/110001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/217163007/diff/110001/content/browser/frame_host/render_frame_host_manager.cc#newcode1091 content/browser/frame_host/render_frame_host_manager.cc:1091: old_render_frame_host.reset(); On 2014/04/11 17:42:53, Charlie Reis wrote: ...
6 years, 8 months ago (2014-04-11 18:11:21 UTC) #8
nasko
The CQ bit was checked by nasko@chromium.org
6 years, 8 months ago (2014-04-11 18:11:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/217163007/130001
6 years, 8 months ago (2014-04-11 18:12:23 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-11 20:57:04 UTC) #11
Message was sent while issue was closed.
Change committed as 263352

Powered by Google App Engine
This is Rietveld 408576698