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

Issue 293093010: Rename RenderProcessHost::IsGuest to RenderProcessHost::IsIsolatedGuest (Closed)

Created:
6 years, 7 months ago by Fady Samuel
Modified:
6 years, 6 months ago
Reviewers:
lazyboy, fsamuel, jam, nasko
CC:
chromium-reviews, extensions-reviews_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@remove_isguest_chrome_callsites
Visibility:
Public.

Description

Rename RenderProcessHost::IsGuest to RenderProcessHost::IsIsolatedGuest Not all guests are created equal. <webview> guests are isolated from other processes. In other words, the content of a <webview> cannot live in the same process as any other non-<webview> content. This is not true for <appview>. <appview> guests are NOT isolated. In the future, BrowserPluginGuest::IsGuest and GuestViewBase::IsGuest may return true even if RenderProcessHost::IsIsolatedGuest returns false. BUG=364141, 330264 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273733

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments #

Total comments: 4

Patch Set 3 : Addressed comments #

Patch Set 4 : Fixed unit tests #

Patch Set 5 : Rebased #

Patch Set 6 : Fixed interactive_ui_tests build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -98 lines) Patch
M chrome/browser/apps/web_view_browsertest.cc View 4 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/apps/web_view_interactive_browsertest.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/user_script_master.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/guest_view/guest_view_manager.h View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/guest_view/guest_view_manager.cc View 1 3 chunks +0 lines, -44 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_browsertest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 4 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 5 chunks +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M content/public/test/mock_render_process_host.cc View 2 3 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Fady Samuel
6 years, 7 months ago (2014-05-23 22:29:25 UTC) #1
lazyboy
Sorry, I forgot about this one. https://chromiumcodereview.appspot.com/293093010/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (left): https://chromiumcodereview.appspot.com/293093010/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#oldcode618 content/browser/browser_plugin/browser_plugin_guest.cc:618: // The guest ...
6 years, 7 months ago (2014-05-27 19:22:22 UTC) #2
Fady Samuel
PTAL Istiaque +nasko@ https://codereview.chromium.org/293093010/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (left): https://codereview.chromium.org/293093010/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#oldcode618 content/browser/browser_plugin/browser_plugin_guest.cc:618: // The guest RenderView should always ...
6 years, 7 months ago (2014-05-27 21:56:34 UTC) #3
lazyboy
lgtm
6 years, 7 months ago (2014-05-28 00:13:03 UTC) #4
nasko
https://codereview.chromium.org/293093010/diff/10001/content/public/browser/render_process_host.h File content/public/browser/render_process_host.h (right): https://codereview.chromium.org/293093010/diff/10001/content/public/browser/render_process_host.h#newcode101 content/public/browser/render_process_host.h:101: // other non-guest renderers in the same process if ...
6 years, 6 months ago (2014-05-28 16:29:13 UTC) #5
fsamuel
PTAL https://codereview.chromium.org/293093010/diff/10001/content/public/browser/render_process_host.h File content/public/browser/render_process_host.h (right): https://codereview.chromium.org/293093010/diff/10001/content/public/browser/render_process_host.h#newcode101 content/public/browser/render_process_host.h:101: // other non-guest renderers in the same process ...
6 years, 6 months ago (2014-05-28 16:37:01 UTC) #6
nasko
Please file a bug to add a test for isolated guests that lives entirely in ...
6 years, 6 months ago (2014-05-28 16:38:26 UTC) #7
Fady Samuel
Filed bug: https://code.google.com/p/chromium/issues/detail?id=378380&thanks=378380&ts=1401298708 Adding jam@ for OWNER review
6 years, 6 months ago (2014-05-28 17:39:30 UTC) #8
jam
how will RPHI::isolated_guest_ be set? right now there are no public apis to set this ...
6 years, 6 months ago (2014-05-28 19:01:35 UTC) #9
Fady Samuel
On 2014/05/28 19:01:35, jam wrote: > how will RPHI::isolated_guest_ be set? right now there are ...
6 years, 6 months ago (2014-05-28 19:04:26 UTC) #10
Fady Samuel
On 2014/05/28 19:01:35, jam wrote: > how will RPHI::isolated_guest_ be set? right now there are ...
6 years, 6 months ago (2014-05-28 19:04:27 UTC) #11
jam
lgtm
6 years, 6 months ago (2014-05-28 19:45:21 UTC) #12
fsamuel
The CQ bit was checked by fsamuel@google.com
6 years, 6 months ago (2014-05-28 19:46:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/293093010/30001
6 years, 6 months ago (2014-05-28 19:48:30 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 23:36:17 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 23:42:00 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/31982) linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/29319) linux_chromium_rel ...
6 years, 6 months ago (2014-05-28 23:42:00 UTC) #17
Fady Samuel
The CQ bit was checked by fsamuel@chromium.org
6 years, 6 months ago (2014-05-29 14:11:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/293093010/40001
6 years, 6 months ago (2014-05-29 14:15:11 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 17:59:59 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 18:03:20 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/11380)
6 years, 6 months ago (2014-05-29 18:03:20 UTC) #22
Fady Samuel
The CQ bit was checked by fsamuel@chromium.org
6 years, 6 months ago (2014-05-29 18:05:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/293093010/60001
6 years, 6 months ago (2014-05-29 18:07:13 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 22:09:18 UTC) #25
Fady Samuel
The CQ bit was checked by fsamuel@chromium.org
6 years, 6 months ago (2014-05-29 22:14:05 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/293093010/80001
6 years, 6 months ago (2014-05-29 22:16:11 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-30 02:10:15 UTC) #28
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 05:55:05 UTC) #29
Message was sent while issue was closed.
Change committed as 273733

Powered by Google App Engine
This is Rietveld 408576698