Factor out the shared parts of IPC channel reading.
This adds a new class+file ChannelReader that is responsible for management
of the common parts of IPC channel reading. The existing platform-specific
ChannelImpl classes derive from this and supply platform-specific reading
features via virtual classes. This is to reduce code duplication between the
Windows and Posix implementations of Channel.
Review URL: http://codereview.chromium.org/9547009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125597 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: d805c6a8ddfceebecf1fe9fd463fb0c8e5f3a881
5 files changed