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

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed)

Created:
7 years, 5 months ago by nasko
Modified:
7 years, 5 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, sadrul, nkostylev+watch_chromium.org, tburkard+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, mad+watch_chromium.org, dcheng, ajwong+watch_chromium.org, aandrey+blink_chromium.org, stevenjb+watch_chromium.org, yusukes+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, vsevik, melevin+watch_chromium.org, ben+watch_chromium.org, jam, dominich, nona+watch_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, Avi (use Gerrit), jennb, creis+watch_chromium.org, penghuang+watch_chromium.org, jianli, gavinp+prer_chromium.org, jfweitz+watch_chromium.org, oshima+watch_chromium.org, Jered, paulirish+reviews_chromium.org, tfarina, donnd+watch_chromium.org, Dmitry Titov, yurys, dominich+watch_chromium.org, joi+watch-content_chromium.org, David Black, pfeldman, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, James Su, davemoore+watch_chromium.org
Visibility:
Public.

Description

Rename RenderViewGone IPC/methods to better reflect reality. The RenderViewGone IPC and methods are incorrectly named, as those are used when a renderer process has died. Since we are passing in termination status around and usually iterating over all Render{Widget|View}Host in a specific process, it actually applies to the whole process. This CL renames all applicable instances of this method and the IPC message associated with it. BUG=258087 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210727

Patch Set 1 #

Patch Set 2 : Fix Mac compile error. #

Total comments: 12

Patch Set 3 : Fixes for reviews by creis@ and palmer@. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -124 lines) Patch
M android_webview/browser/renderer_host/aw_render_view_host_ext.h View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/renderer_host/aw_render_view_host_ext.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/screensaver/screensaver_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/screensaver/screensaver_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_display_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_display_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/webui_screen_locker.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/webui_screen_locker.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/ui/app_launch_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/ui/app_launch_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/infobars/infobar_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/infobars/infobar_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/balloon_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/balloon_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/page_cycler/page_cycler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/print_view_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/background_contents.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/background_contents.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/hung_renderer_controller.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/hung_renderer_controller.mm View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/sad_tab_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/sad_tab_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/search/instant_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/search/instant_extended_interactive_uitest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_ntp.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/search/instant_ntp.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_page.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_page_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/hung_renderer_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/hung_renderer_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_plugin/test_browser_plugin_guest.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_plugin/test_browser_plugin_guest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/devtools/devtools_frontend_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/devtools_frontend_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_gtk.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_guest.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_guest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/render_view_host_manager.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/swapped_out_messages.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/view_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 chunk +4 lines, -4 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/webkit_test_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/webkit_test_controller.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
nasko
Please review this CL, which does a rename of RenderViewGone to RenderProcessGone. jam@ - overall ...
7 years, 5 months ago (2013-07-08 23:50:00 UTC) #1
nasko
Adding rkc@ for ash/screensaver OWNERS review.
7 years, 5 months ago (2013-07-08 23:53:07 UTC) #2
rkc
lgtm
7 years, 5 months ago (2013-07-08 23:59:49 UTC) #3
jam
lgtm
7 years, 5 months ago (2013-07-09 01:02:40 UTC) #4
joth
a_w/ lgtm rubberstamp On 8 July 2013 18:02, <jam@chromium.org> wrote: > lgtm > > > ...
7 years, 5 months ago (2013-07-09 01:14:59 UTC) #5
jochen (gone - plz use gerrit)
lgtm
7 years, 5 months ago (2013-07-09 07:02:52 UTC) #6
mkosiba (inactive)
LGTM for android_webview/
7 years, 5 months ago (2013-07-09 10:12:46 UTC) #7
nasko
Adding creis@ to comment whether RenderViewHostManager::RenderViewGoneFromRenderManager should also be renamed or not.
7 years, 5 months ago (2013-07-09 16:02:05 UTC) #8
Charlie Reis
Thanks for cleaning this up. It will make much more sense when we start talking ...
7 years, 5 months ago (2013-07-09 16:57:35 UTC) #9
palmer
LGTM with a nit https://codereview.chromium.org/18339006/diff/4001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/18339006/diff/4001/content/browser/renderer_host/render_process_host_impl.cc#newcode1621 content/browser/renderer_host/render_process_host_impl.cc:1621: static_cast<int>(status), Nit: Whitespace. https://codereview.chromium.org/18339006/diff/4001/content/common/view_messages.h File ...
7 years, 5 months ago (2013-07-09 17:47:14 UTC) #10
nasko
Fixes for reviews by creis@ and palmer@. https://codereview.chromium.org/18339006/diff/4001/chrome/browser/ui/search/instant_page.h File chrome/browser/ui/search/instant_page.h (right): https://codereview.chromium.org/18339006/diff/4001/chrome/browser/ui/search/instant_page.h#newcode55 chrome/browser/ui/search/instant_page.h:55: // Called ...
7 years, 5 months ago (2013-07-09 19:12:47 UTC) #11
Charlie Reis
Thanks! LGTM.
7 years, 5 months ago (2013-07-09 20:12:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/18339006/18002
7 years, 5 months ago (2013-07-09 21:34:12 UTC) #13
commit-bot: I haz the power
7 years, 5 months ago (2013-07-10 02:40:56 UTC) #14
Message was sent while issue was closed.
Change committed as 210727

Powered by Google App Engine
This is Rietveld 408576698