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

Issue 310293002: Make IPC::Channel polymorphic (Closed)

Created:
6 years, 6 months ago by Hajime Morrita
Modified:
6 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Make IPC::Channel polymorphic This change makes each platform specific ChannelImpl into a subclass of Channel: ChannelPosix, ChannelWin, ChannelNacl. delegated functions are now virtual. TEST=none BUG=377980 R=darin@chromium.org, jam@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275505

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Landing #

Patch Set 7 : Fixing win_gpu build #

Patch Set 8 : Landing #

Patch Set 9 : Another attempt to fix build breakage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -278 lines) Patch
M content/child/npapi/np_channel_base.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_channel_host.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_channel.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel.h View 1 2 3 5 chunks +13 lines, -26 lines 0 comments Download
M ipc/ipc_channel_common.cc View 1 2 3 1 chunk +9 lines, -17 lines 0 comments Download
M ipc/ipc_channel_nacl.h View 1 2 3 3 chunks +11 lines, -10 lines 0 comments Download
M ipc/ipc_channel_nacl.cc View 1 2 3 14 chunks +30 lines, -50 lines 0 comments Download
M ipc/ipc_channel_posix.h View 1 2 3 3 chunks +22 lines, -17 lines 0 comments Download
M ipc/ipc_channel_posix.cc View 1 2 3 26 chunks +47 lines, -85 lines 0 comments Download
M ipc/ipc_channel_posix_unittest.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 1 2 3 4 7 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 2 3 4 7 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/ipc_channel_win.h View 1 2 3 3 chunks +17 lines, -12 lines 0 comments Download
M ipc/ipc_channel_win.cc View 1 2 3 14 chunks +30 lines, -44 lines 0 comments Download
M ipc/ipc_message.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ipc/ipc_send_fds_test.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ipc/ipc_sync_channel_unittest.cc View 1 2 3 4 7 2 chunks +2 lines, -2 lines 0 comments Download
M ipc/ipc_test_base.cc View 1 2 4 7 1 chunk +3 lines, -2 lines 0 comments Download
M ipc/ipc_test_sink.h View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M ipc/ipc_test_sink.cc View 1 2 3 2 chunks +48 lines, -0 lines 0 comments Download
M win8/viewer/metro_viewer_process_host.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
Hajime Morrita
6 years, 6 months ago (2014-06-04 00:21:09 UTC) #1
jam
I understand that now it's obvious at the callsites that a method called through GetPosixExtras() ...
6 years, 6 months ago (2014-06-04 00:33:38 UTC) #2
Hajime Morrita
On 2014/06/04 00:33:38, jam wrote: > I understand that now it's obvious at the callsites ...
6 years, 6 months ago (2014-06-04 00:49:17 UTC) #3
darin (slow to review)
On 2014/06/04 00:49:17, morrita wrote: > On 2014/06/04 00:33:38, jam wrote: > > I understand ...
6 years, 6 months ago (2014-06-04 04:48:57 UTC) #4
Hajime Morrita
On 2014/06/04 04:48:57, darin wrote: > On 2014/06/04 00:49:17, morrita wrote: > > On 2014/06/04 ...
6 years, 6 months ago (2014-06-04 17:49:34 UTC) #5
Hajime Morrita
PTAL? Got rid of PosixExtras. I'd leave extracting setup bit for another cl.
6 years, 6 months ago (2014-06-04 19:46:05 UTC) #6
jam
On 2014/06/04 19:46:05, morrita wrote: > PTAL? Got rid of PosixExtras. > I'd leave extracting ...
6 years, 6 months ago (2014-06-04 21:59:06 UTC) #7
Hajime Morrita
On 2014/06/04 21:59:06, jam wrote: > On 2014/06/04 19:46:05, morrita wrote: > > PTAL? Got ...
6 years, 6 months ago (2014-06-05 00:20:27 UTC) #8
jam
https://codereview.chromium.org/310293002/diff/40001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/310293002/diff/40001/ipc/ipc_channel.h#newcode171 ipc/ipc_channel.h:171: virtual base::ProcessId peer_pid() const = 0; nit: now that ...
6 years, 6 months ago (2014-06-05 00:28:14 UTC) #9
gmorrita
PTAL? https://codereview.chromium.org/310293002/diff/40001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/310293002/diff/40001/ipc/ipc_channel.h#newcode171 ipc/ipc_channel.h:171: virtual base::ProcessId peer_pid() const = 0; On 2014/06/05 ...
6 years, 6 months ago (2014-06-05 01:04:09 UTC) #10
jam
lgtm
6 years, 6 months ago (2014-06-05 06:02:41 UTC) #11
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 6 months ago (2014-06-05 17:15:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/310293002/100001
6 years, 6 months ago (2014-06-05 17:16:38 UTC) #13
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 6 months ago (2014-06-05 18:44:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/310293002/120001
6 years, 6 months ago (2014-06-05 18:44:56 UTC) #15
Hajime Morrita
The CQ bit was unchecked by morrita@chromium.org
6 years, 6 months ago (2014-06-05 18:45:10 UTC) #16
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 6 months ago (2014-06-05 18:52:41 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/310293002/140001
6 years, 6 months ago (2014-06-05 18:55:21 UTC) #18
Hajime Morrita
Can anyone owning win8/ rubberstamp this cl? It just follows a rename on ipc/
6 years, 6 months ago (2014-06-05 19:44:00 UTC) #19
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 6 months ago (2014-06-05 22:01:57 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/310293002/150001
6 years, 6 months ago (2014-06-05 22:03:24 UTC) #21
Hajime Morrita
Carlos, Darin: Could you please rubberstamp for win8/ ? Just follows a rename.
6 years, 6 months ago (2014-06-05 23:06:52 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-06 02:58:40 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 03:03:01 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72061)
6 years, 6 months ago (2014-06-06 03:03:02 UTC) #25
Hajime Morrita
darin, cpu: Would you mind to give me a rubberstamp for win8/ ?
6 years, 6 months ago (2014-06-06 16:16:27 UTC) #26
cpu_(ooo_6.6-7.5)
win8 lgtm
6 years, 6 months ago (2014-06-06 19:45:54 UTC) #27
cpu_(ooo_6.6-7.5)
win8 lgtm
6 years, 6 months ago (2014-06-06 19:45:54 UTC) #28
Hajime Morrita
Thank you !!
6 years, 6 months ago (2014-06-06 20:05:30 UTC) #29
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 6 months ago (2014-06-06 20:05:35 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/310293002/150001
6 years, 6 months ago (2014-06-06 20:06:19 UTC) #31
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 20:13:58 UTC) #32
Message was sent while issue was closed.
Change committed as 275505

Powered by Google App Engine
This is Rietveld 408576698