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

Issue 1849343004: Remove RenderFrameHostImplState and convert it to boolean. (Closed)

Created:
4 years, 8 months ago by nasko
Modified:
4 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove RenderFrameHostImplState and convert it to boolean. Since RenderFrameHost no longer supports swapped out state, the state enum RenderFrameHostImplState is no longer needed. It can be replaced by a boolean indicating that it is waiting for swap-out ack from the renderer process. BUG=357747 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/19736cc9fd0f11697846b7ae43364a666b09a48c Cr-Commit-Position: refs/heads/master@{#386232}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Rebased on ToT. #

Patch Set 3 : Address review comments. #

Total comments: 8

Patch Set 4 : Addressing nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -113 lines) Patch
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 chunks +9 lines, -22 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 21 chunks +46 lines, -59 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 15 chunks +21 lines, -24 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
nasko
Hey Charlie, Can you review this CL for me? It cleans up the state enum ...
4 years, 8 months ago (2016-04-01 22:58:59 UTC) #3
Charlie Reis
Cool, thanks! Some questions and nits below. https://codereview.chromium.org/1849343004/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1849343004/diff/1/content/browser/frame_host/render_frame_host_impl.cc#newcode1165 content/browser/frame_host/render_frame_host_impl.cc:1165: // If ...
4 years, 8 months ago (2016-04-04 17:16:36 UTC) #5
nasko
https://codereview.chromium.org/1849343004/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1849343004/diff/1/content/browser/frame_host/render_frame_host_impl.cc#newcode1165 content/browser/frame_host/render_frame_host_impl.cc:1165: // If this RenderFrameHost is not in the default ...
4 years, 8 months ago (2016-04-08 17:42:07 UTC) #6
Charlie Reis
Thanks! LGTM with nits. https://codereview.chromium.org/1849343004/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1849343004/diff/1/content/browser/frame_host/render_frame_host_impl.cc#newcode1190 content/browser/frame_host/render_frame_host_impl.cc:1190: // simulating the receipt of ...
4 years, 8 months ago (2016-04-08 20:25:37 UTC) #7
nasko
https://codereview.chromium.org/1849343004/diff/40001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1849343004/diff/40001/content/browser/frame_host/render_frame_host_impl.cc#newcode1200 content/browser/frame_host/render_frame_host_impl.cc:1200: // simulating the receipt of swap out ack? On ...
4 years, 8 months ago (2016-04-08 21:25:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849343004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849343004/60001
4 years, 8 months ago (2016-04-08 21:25:49 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-08 22:39:03 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 22:41:27 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/19736cc9fd0f11697846b7ae43364a666b09a48c
Cr-Commit-Position: refs/heads/master@{#386232}

Powered by Google App Engine
This is Rietveld 408576698