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

Issue 5598010: Convert over to channel handles (Closed)

Created:
10 years ago by dmac
Modified:
9 years, 7 months ago
Reviewers:
playmobil, brettw, agl
CC:
chromium-reviews, pam+watch_chromium.org, ben+cc_chromium.org, jam, apatrick_chromium, darin-cc_chromium.org, brettw-cc_chromium.org, stuartmorgan+watch_chromium.org
Visibility:
Public.

Description

Convert over to channel handles This hides some of the internals of the posix channels from users, and gets rid of several #ifdef POSIX blocks. Generally simplifies usage of channels xplatform. BUG=none TEST=build Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68621

Patch Set 1 #

Patch Set 2 : Fixed up bad whitespace #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -257 lines) Patch
M chrome/browser/plugin_data_remover.cc View 1 chunk +1 line, -6 lines 0 comments Download
M chrome/gpu/gpu_channel.h View 1 2 chunks +4 lines, -18 lines 0 comments Download
M chrome/gpu/gpu_channel.cc View 3 chunks +12 lines, -22 lines 0 comments Download
M chrome/gpu/gpu_thread.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/plugin/plugin_channel.h View 3 chunks +1 line, -15 lines 0 comments Download
M chrome/plugin/plugin_channel.cc View 6 chunks +0 lines, -39 lines 0 comments Download
M chrome/plugin/plugin_channel_base.h View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/plugin/plugin_channel_base.cc View 5 chunks +6 lines, -16 lines 0 comments Download
M chrome/plugin/plugin_thread.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/ppapi_plugin/ppapi_thread.cc View 1 1 chunk +6 lines, -16 lines 0 comments Download
M chrome/renderer/gpu_channel_host.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/gpu_channel_host.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/plugin_channel_host.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/plugin_channel_host.cc View 2 chunks +2 lines, -15 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 chunk +1 line, -7 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 1 chunk +1 line, -7 lines 0 comments Download
M ipc/ipc_channel.h View 1 3 chunks +7 lines, -2 lines 1 comment Download
M ipc/ipc_channel_handle.h View 1 chunk +3 lines, -3 lines 1 comment Download
M ipc/ipc_channel_posix.h View 2 chunks +3 lines, -17 lines 1 comment Download
M ipc/ipc_channel_posix.cc View 1 6 chunks +17 lines, -11 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 1 8 chunks +9 lines, -8 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 7 chunks +32 lines, -22 lines 2 comments Download
M ipc/ipc_channel_win.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M ipc/ipc_channel_win.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M ipc/ipc_sync_channel.h View 2 chunks +2 lines, -1 line 0 comments Download
M ipc/ipc_sync_channel.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/proxy/dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/dispatcher.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_module.cc View 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
dmac
Sorry for the size, but couldn't think of any better way to partition this up.
10 years ago (2010-12-08 01:26:57 UTC) #1
agl
It's been some time since I really knew what was going on with the IPC ...
10 years ago (2010-12-08 15:38:57 UTC) #2
brettw
10 years ago (2010-12-08 22:49:27 UTC) #3
Style nits.

http://codereview.chromium.org/5598010/diff/2001/ipc/ipc_channel.h
File ipc/ipc_channel.h (right):

http://codereview.chromium.org/5598010/diff/2001/ipc/ipc_channel.h#newcode69
ipc/ipc_channel.h:69: Channel(const IPC::ChannelHandle &channel_handle, Mode
mode,
The & should be next to the type name.

http://codereview.chromium.org/5598010/diff/2001/ipc/ipc_channel_posix.h
File ipc/ipc_channel_posix.h (right):

http://codereview.chromium.org/5598010/diff/2001/ipc/ipc_channel_posix.h#newc...
ipc/ipc_channel_posix.h:27: ChannelImpl(const IPC::ChannelHandle
&channel_handle, Mode mode,
Be sure to check these other places as well.

Powered by Google App Engine
This is Rietveld 408576698