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

Issue 1799163002: Remove swapped out state from RenderFrameHost. (Closed)

Created:
4 years, 9 months ago by nasko
Modified:
4 years, 9 months ago
Reviewers:
Charlie Reis, sky
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove swapped out state from RenderFrameHost. Since swapped out RenderFrameHosts are no longer used, its swapped out state is no longer necessary. This CL removes it along with a public API that exposed it outside of content/. BUG=357747 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/7ecc9a63ae68521e2189683fae86f5e89405986b Cr-Commit-Position: refs/heads/master@{#381601}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Fixes based on code review. #

Patch Set 3 : Rebase on ToT to pick up couple of related removal CLs. #

Total comments: 1

Patch Set 4 : Fixing failing layout test and adding an explicit test. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -85 lines) Patch
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 2 chunks +1 line, -10 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 chunks +14 lines, -48 lines 2 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/public/test/test_renderer_host.h View 1 chunk +0 lines, -7 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
nasko
Hey Charlie, This CL removes the swapped out state of RenderFrameHost. Can you review it ...
4 years, 9 months ago (2016-03-14 19:02:23 UTC) #3
Charlie Reis
Great! Very excited for these. A few questions below. https://codereview.chromium.org/1799163002/diff/1/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/1799163002/diff/1/chrome/browser/ssl/ssl_browser_tests.cc#newcode945 chrome/browser/ssl/ssl_browser_tests.cc:945: ...
4 years, 9 months ago (2016-03-14 20:12:58 UTC) #5
nasko
Fixes for the previous round of reviews. sky@, can you do an OWNERS review of ...
4 years, 9 months ago (2016-03-14 21:32:30 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1799163002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1799163002/60001
4 years, 9 months ago (2016-03-14 21:33:22 UTC) #10
Charlie Reis
Thanks, LGTM. https://codereview.chromium.org/1799163002/diff/60001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1799163002/diff/60001/content/browser/frame_host/render_frame_host_impl.cc#newcode1875 content/browser/frame_host/render_frame_host_impl.cc:1875: // Whenever we change the RFH state ...
4 years, 9 months ago (2016-03-14 21:49:15 UTC) #11
sky
LGTM
4 years, 9 months ago (2016-03-14 23:26:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1799163002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1799163002/60001
4 years, 9 months ago (2016-03-14 23:32:14 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_site_isolation on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_site_isolation/builds/1301)
4 years, 9 months ago (2016-03-15 03:19:57 UTC) #17
nasko
Hey Charlie, Can you take another look? Patchset 3 fixes the problematic layout test and ...
4 years, 9 months ago (2016-03-16 22:52:31 UTC) #18
Charlie Reis
Thanks for adding the test! Still LGTM, but one request for a check below. https://codereview.chromium.org/1799163002/diff/80001/content/browser/frame_host/render_frame_host_impl.cc ...
4 years, 9 months ago (2016-03-16 23:18:46 UTC) #19
Charlie Reis
https://codereview.chromium.org/1799163002/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/1799163002/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode1874 content/browser/frame_host/render_frame_host_impl.cc:1874: render_view_host_->set_is_swapped_out(false); On 2016/03/16 23:18:46, Charlie Reis wrote: > Let's ...
4 years, 9 months ago (2016-03-16 23:47:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1799163002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1799163002/80001
4 years, 9 months ago (2016-03-16 23:51:32 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 9 months ago (2016-03-17 00:22:31 UTC) #25
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 00:24:23 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7ecc9a63ae68521e2189683fae86f5e89405986b
Cr-Commit-Position: refs/heads/master@{#381601}

Powered by Google App Engine
This is Rietveld 408576698