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

Issue 1785153005: Remove SiteIsolationPolicy::IsSwappedOutStateForbidden(). (Closed)

Created:
4 years, 9 months ago by nasko
Modified:
4 years, 9 months ago
Reviewers:
Charlie Reis, dcheng
CC:
aboxhall+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, jam, je_julie, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nektar+watch_chromium.org, site-isolation-reviews_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove SiteIsolationPolicy::IsSwappedOutStateForbidden(). IsSwappedOutStateForbidden has been hardcoded to return true for the last two milestones and it is now time to remove it. BUG=357747, 253537 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/b3041b98a4757335bfa207a8b0c85c22bd277900 Cr-Commit-Position: refs/heads/master@{#380844}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Fixes based on reviews. #

Patch Set 3 : Rebase on ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -924 lines) Patch
M content/browser/browser_plugin/browser_plugin_guest.cc View 2 chunks +8 lines, -13 lines 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 1 chunk +2 lines, -9 lines 0 comments Download
M content/browser/frame_host/navigator_impl_unittest.cc View 1 chunk +0 lines, -56 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 14 chunks +65 lines, -173 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 1 chunk +0 lines, -69 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 14 chunks +21 lines, -217 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 2 chunks +6 lines, -16 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 2 chunks +9 lines, -18 lines 0 comments Download
M content/common/site_isolation_policy.h View 1 chunk +0 lines, -11 lines 0 comments Download
M content/common/site_isolation_policy.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_browsertest.cc View 1 1 chunk +0 lines, -66 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 8 chunks +27 lines, -85 lines 0 comments Download
M content/renderer/render_frame_proxy.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 2 chunks +0 lines, -25 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 chunk +0 lines, -138 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +3 lines, -12 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
nasko
Yay! The time has come! Daniel, can you do the honors of reviewing this one? ...
4 years, 9 months ago (2016-03-11 19:57:09 UTC) #3
dmazzoni
https://codereview.chromium.org/1785153005/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1785153005/diff/1/content/renderer/render_frame_impl.cc#newcode981 content/renderer/render_frame_impl.cc:981: is_swapped_out_(false), Why not delete this as part of the ...
4 years, 9 months ago (2016-03-11 20:31:34 UTC) #5
dcheng
https://codereview.chromium.org/1785153005/diff/1/content/browser/frame_host/render_frame_host_manager_unittest.cc File content/browser/frame_host/render_frame_host_manager_unittest.cc (right): https://codereview.chromium.org/1785153005/diff/1/content/browser/frame_host/render_frame_host_manager_unittest.cc#newcode401 content/browser/frame_host/render_frame_host_manager_unittest.cc:401: // Creates a test RenderViewHost that's swapped out. It ...
4 years, 9 months ago (2016-03-11 20:32:28 UTC) #7
Charlie Reis
This is so nice to see! Just a few thoughts, but I'm excited to land ...
4 years, 9 months ago (2016-03-11 21:56:55 UTC) #9
nasko
Comments addressed. https://codereview.chromium.org/1785153005/diff/1/content/browser/frame_host/frame_tree.cc File content/browser/frame_host/frame_tree.cc (right): https://codereview.chromium.org/1785153005/diff/1/content/browser/frame_host/frame_tree.cc#newcode255 content/browser/frame_host/frame_tree.cc:255: // Create the swapped out RVH for ...
4 years, 9 months ago (2016-03-11 22:35:33 UTC) #11
Charlie Reis
Thanks! LGTM once the merge conflict is fixed.
4 years, 9 months ago (2016-03-11 23:15:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1785153005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1785153005/40001
4 years, 9 months ago (2016-03-11 23:30:06 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-12 04:43:17 UTC) #17
commit-bot: I haz the power
4 years, 9 months ago (2016-03-12 04:45:51 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b3041b98a4757335bfa207a8b0c85c22bd277900
Cr-Commit-Position: refs/heads/master@{#380844}

Powered by Google App Engine
This is Rietveld 408576698