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

Issue 9570001: Separate out the platform-independent parts of Channel reading. (Closed)

Created:
8 years, 9 months ago by brettw
Modified:
8 years, 9 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Separate out the platform-independent parts of Channel reading. I'm planning on comsolidating the platform-independent management of the overflow buffer and message dispatch between the posix and windows channels. This patch separates out the behavior into the functions I'm planning on adding on the virtual interface. Basically, ProcessIncomingMessages and DispatchInputData will be the main shared code. In future patches, I'll refactor Windows in a similar way and then combine them into a shared base class. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124489

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -250 lines) Patch
M ipc/ipc.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ipc/ipc_channel.h View 1 2 3 2 chunks +11 lines, -11 lines 0 comments Download
M ipc/ipc_channel_posix.h View 1 2 3 7 chunks +10 lines, -49 lines 0 comments Download
M ipc/ipc_channel_posix.cc View 1 2 3 11 chunks +15 lines, -80 lines 0 comments Download
A ipc/ipc_channel_reader.h View 1 2 3 1 chunk +105 lines, -0 lines 0 comments Download
A ipc/ipc_channel_reader.cc View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download
M ipc/ipc_channel_win.h View 1 2 3 4 chunks +10 lines, -33 lines 0 comments Download
M ipc/ipc_channel_win.cc View 1 2 3 4 5 chunks +7 lines, -77 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
brettw
Now with EasyReview™ comments. https://chromiumcodereview.appspot.com/9570001/diff/3003/ipc/ipc_channel_posix.cc File ipc/ipc_channel_posix.cc (left): https://chromiumcodereview.appspot.com/9570001/diff/3003/ipc/ipc_channel_posix.cc#oldcode483 ipc/ipc_channel_posix.cc:483: if (pipe_ == -1) This ...
8 years, 9 months ago (2012-03-01 06:43:23 UTC) #1
Elliot Glaysher
lgtm
8 years, 9 months ago (2012-03-01 19:24:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brettw@chromium.org/9570001/3003
8 years, 9 months ago (2012-03-01 19:59:02 UTC) #3
commit-bot: I haz the power
8 years, 9 months ago (2012-03-01 21:41:49 UTC) #4
Change committed as 124489

Powered by Google App Engine
This is Rietveld 408576698