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

Issue 208243019: Move SwapOut methods to RenderFrameHost. (Closed)

Created:
6 years, 9 months ago by Charlie Reis
Modified:
6 years, 8 months ago
Reviewers:
nasko
CC:
chromium-reviews, creis+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nasko+codewatch_chromium.org, jam, yuzo+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Move SwapOut methods to RenderFrameHost. This leaves the state in RenderViewHost for now, to make this an easier first step. BUG=304341 TEST=No behavior change. R=nasko@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260155

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Fix merge conflicts #

Patch Set 4 : Fix compile and tests #

Patch Set 5 : Fix Nasko's comment #

Total comments: 3

Patch Set 6 : Fix Nasko's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -205 lines) Patch
M content/browser/frame_host/render_frame_host_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 1 chunk +7 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 3 chunks +29 lines, -7 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 1 chunk +1 line, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 8 chunks +26 lines, -75 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 2 chunks +0 lines, -21 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 1 chunk +4 lines, -7 lines 0 comments Download
M content/common/swapped_out_messages.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 3 chunks +34 lines, -9 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 4 chunks +2 lines, -6 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 2 chunks +0 lines, -40 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Charlie Reis
Nasko: Can you take a look? I could use some careful eyes on the method ...
6 years, 9 months ago (2014-03-24 22:17:49 UTC) #1
nasko
Wow! Exciting! With just one nit, LGTM! https://codereview.chromium.org/208243019/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/208243019/diff/20001/content/renderer/render_frame_impl.cc#newcode805 content/renderer/render_frame_impl.cc:805: // support ...
6 years, 9 months ago (2014-03-25 18:15:18 UTC) #2
Charlie Reis
Thanks! Can you take one more look at RenderFrameHostImpl::SwapOut() now that I've merged to pick ...
6 years, 8 months ago (2014-03-28 15:55:18 UTC) #3
nasko
LGTM again. Just one nit. https://codereview.chromium.org/208243019/diff/100001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/208243019/diff/100001/content/browser/frame_host/render_frame_host_manager.cc#newcode369 content/browser/frame_host/render_frame_host_manager.cc:369: int frame_id = pending_render_frame_host_ ...
6 years, 8 months ago (2014-03-28 16:10:48 UTC) #4
Charlie Reis
Thanks! Try jobs from patch 4 look good, so I'll land manually. https://codereview.chromium.org/208243019/diff/100001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc ...
6 years, 8 months ago (2014-03-28 16:18:04 UTC) #5
Charlie Reis
6 years, 8 months ago (2014-03-28 16:26:01 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 manually as r260155 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698