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

Issue 16431010: Refactor RenderProcessHost to use IPC::Listener instead of RenderWidgetHost (Closed)

Created:
7 years, 6 months ago by nasko
Modified:
7 years, 6 months ago
Reviewers:
jam
CC:
chromium-reviews, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, dmazzoni+watch_chromium.org, stevenjb+watch_chromium.org, extensions-reviews_chromium.org, vsevik, aboxhall+watch_chromium.org, jam, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, yuzo+watch_chromium.org, feature-media-reviews_chromium.org, oshima+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org, hashimoto+watch_chromium.org, yurys, davidbarr+watch_chromium.org, davemoore+watch_chromium.org, dtseng+watch_chromium.org, pfeldman, dcheng
Visibility:
Public.

Description

Refactor RenderProcessHost to use IPC::Listener instead of RenderWidgetHost BUG=248160 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207913

Patch Set 1 #

Patch Set 2 : Fix cleanup crashes. #

Total comments: 5

Patch Set 3 : Use RVO and fix up hash_map functions. #

Patch Set 4 : Use hash_pair.h instead of my own struct\! #

Patch Set 5 : Misc cleanup and fixes. #

Patch Set 6 : Fixing Windows compile error. #

Total comments: 38

Patch Set 7 : Fixes for review by jam@ #

Patch Set 8 : Rebase on top of hash_pair move. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -400 lines) Patch
M chrome/browser/chromeos/system/timezone_settings.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/processes/processes_api.cc View 1 2 3 4 5 6 1 chunk +7 lines, -8 lines 0 comments Download
M chrome/browser/memory_details.cc View 1 2 3 4 5 6 7 2 chunks +89 lines, -96 lines 0 comments Download
M chrome/browser/performance_monitor/performance_monitor.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -11 lines 0 comments Download
M chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc View 1 2 3 4 5 6 1 chunk +10 lines, -20 lines 0 comments Download
chrome/browser/task_manager/guest_resource_provider.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -13 lines 0 comments Download
M chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/validation_message_message_filter.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/accessibility/accessibility_ui.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -18 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_state_impl.cc View 1 2 3 4 5 6 1 chunk +6 lines, -17 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 2 3 4 5 6 1 chunk +17 lines, -28 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
content/browser/gpu/gpu_process_host_ui_shim.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -9 lines 0 comments Download
content/browser/renderer_host/media/web_contents_video_capture_device.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 5 6 7 4 chunks +6 lines, -10 lines 0 comments Download
content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 10 chunks +55 lines, -65 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 5 chunks +44 lines, -6 lines 0 comments Download
M content/browser/worker_host/worker_service_impl.cc View 1 2 3 4 5 6 1 chunk +10 lines, -19 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 2 3 4 5 6 7 5 chunks +7 lines, -15 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 2 3 4 5 6 7 4 chunks +5 lines, -5 lines 0 comments Download
content/public/test/mock_render_process_host.cc View 1 2 3 4 5 6 7 6 chunks +40 lines, -24 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
dcheng
Mostly a drive by. Generic comment about removing out commented-out code as well. https://codereview.chromium.org/16431010/diff/3001/content/browser/devtools/render_view_devtools_agent_host.cc File ...
7 years, 6 months ago (2013-06-11 00:34:58 UTC) #1
nasko
Hey John, Can you review this CL? It is the refactor we discussed in email ...
7 years, 6 months ago (2013-06-12 13:45:37 UTC) #2
jam
https://codereview.chromium.org/16431010/diff/24001/chrome/browser/chromeos/system/timezone_settings.cc File chrome/browser/chromeos/system/timezone_settings.cc (right): https://codereview.chromium.org/16431010/diff/24001/chrome/browser/chromeos/system/timezone_settings.cc#newcode357 chrome/browser/chromeos/system/timezone_settings.cc:357: for (content::RenderWidgetHost::List::const_iterator it = widgets.begin(); ditto https://codereview.chromium.org/16431010/diff/24001/chrome/browser/extensions/api/processes/processes_api.cc File chrome/browser/extensions/api/processes/processes_api.cc ...
7 years, 6 months ago (2013-06-12 19:59:59 UTC) #3
nasko
Fixes for all the issues raised. https://codereview.chromium.org/16431010/diff/24001/chrome/browser/chromeos/system/timezone_settings.cc File chrome/browser/chromeos/system/timezone_settings.cc (right): https://codereview.chromium.org/16431010/diff/24001/chrome/browser/chromeos/system/timezone_settings.cc#newcode357 chrome/browser/chromeos/system/timezone_settings.cc:357: for (content::RenderWidgetHost::List::const_iterator it ...
7 years, 6 months ago (2013-06-12 21:18:59 UTC) #4
jam
https://codereview.chromium.org/16431010/diff/24001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/16431010/diff/24001/content/browser/renderer_host/render_widget_host_impl.cc#newcode21 content/browser/renderer_host/render_widget_host_impl.cc:21: #include "cc/base/hash_pair.h" On 2013/06/12 21:18:59, nasko wrote: > On ...
7 years, 6 months ago (2013-06-12 22:59:27 UTC) #5
nasko
jam@, can you take a look? The move of the pair hashing code is now ...
7 years, 6 months ago (2013-06-20 23:25:26 UTC) #6
jam
lgtm
7 years, 6 months ago (2013-06-21 17:07:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/16431010/43001
7 years, 6 months ago (2013-06-21 18:33:10 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 20:23:42 UTC) #9
Message was sent while issue was closed.
Change committed as 207913

Powered by Google App Engine
This is Rietveld 408576698