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

Issue 6901146: Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. This allows us to remov... (Closed)

Created:
9 years, 7 months ago by jam
Modified:
9 years, 7 months ago
Reviewers:
sanjeevr
CC:
chromium-reviews
Visibility:
Public.

Description

Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. This allows us to remove usage of the IOThread object, and generally makes IPC::ChannelProxy more robust for future uses. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83741

Patch Set 1 : '' #

Patch Set 2 : sync #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -99 lines) Patch
M base/threading/thread.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_provider.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/service/service_process_control.cc View 1 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/renderer/devtools_agent_filter.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/service/service_ipc_server.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/automation/automation_proxy.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/DEPS View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/gpu_process_host_ui_shim.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/browser_render_process_host.cc View 1 3 chunks +4 lines, -8 lines 0 comments Download
M content/common/child_process.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/child_thread.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_channel.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_channel_manager.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/pepper_plugin_registry.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/pepper_plugin_registry.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/plugin/plugin_channel.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M content/plugin/plugin_channel.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M content/plugin/plugin_channel_base.h View 1 3 chunks +7 lines, -3 lines 0 comments Download
M content/plugin/plugin_channel_base.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/plugin/plugin_thread.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/audio_input_message_filter.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/audio_message_filter.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/gpu_channel_host.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/plugin_channel_host.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/plugin_channel_host.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/webplugin_delegate_proxy.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_proxy.h View 1 8 chunks +14 lines, -13 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 4 chunks +9 lines, -6 lines 0 comments Download
M ipc/ipc_sync_channel.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/ipc_sync_channel.cc View 1 6 chunks +7 lines, -6 lines 0 comments Download
M ipc/ipc_sync_channel_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/ipc_tests.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/dispatcher.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/dispatcher.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppb_flash_file_proxy.cc View 1 2 5 chunks +7 lines, -8 lines 0 comments Download
M ppapi/proxy/proxy_channel.h View 1 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jam
9 years, 7 months ago (2011-04-30 05:26:06 UTC) #1
sanjeevr
A couple of comments. Also, in general, there are many places where the type has ...
9 years, 7 months ago (2011-05-02 17:27:37 UTC) #2
jam
http://codereview.chromium.org/6901146/diff/7062/ppapi/proxy/ppb_flash_file_proxy.cc File ppapi/proxy/ppb_flash_file_proxy.cc (right): http://codereview.chromium.org/6901146/diff/7062/ppapi/proxy/ppb_flash_file_proxy.cc#newcode199 ppapi/proxy/ppb_flash_file_proxy.cc:199: DCHECK(base::MessageLoopProxy::CreateForCurrentThread() == main_thread_); On 2011/05/02 17:27:37, sanjeevr wrote: > ...
9 years, 7 months ago (2011-05-02 17:43:47 UTC) #3
jam
On 2011/05/02 17:27:37, sanjeevr wrote: > A couple of comments. Also, in general, there are ...
9 years, 7 months ago (2011-05-02 17:44:33 UTC) #4
sanjeevr
9 years, 7 months ago (2011-05-02 17:49:07 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698