summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_reader.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-11 22:35:26 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-11 22:35:26 +0000
commit57319cecbf1277567dbd0328fab1ccb741f022ac (patch)
tree24f52f0c4dd774a09c8a3d7ae5ae781e83e1ec27 /ipc/ipc_channel_reader.h
parent354d49aec9a0bbae84a558bc2cddf4ccb200f955 (diff)
downloadchromium_src-57319cecbf1277567dbd0328fab1ccb741f022ac.zip
chromium_src-57319cecbf1277567dbd0328fab1ccb741f022ac.tar.gz
chromium_src-57319cecbf1277567dbd0328fab1ccb741f022ac.tar.bz2
Separate out IPC::Message::Sender and Channel::Listener into a separate class.
I fixed the places that did IPC::Channel::Sender (I don't even know how this compiled, but I presume this means the "Sender" base class of the "Channel" which ends up being right). We can fix the other users of this later. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10541065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_reader.h')
-rw-r--r--ipc/ipc_channel_reader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_channel_reader.h b/ipc/ipc_channel_reader.h
index 192ca2d..9c398bd 100644
--- a/ipc/ipc_channel_reader.h
+++ b/ipc/ipc_channel_reader.h
@@ -25,10 +25,10 @@ namespace internal {
// here (and rename appropriately) rather than writing a different class.
class ChannelReader {
public:
- explicit ChannelReader(Channel::Listener* listener);
+ explicit ChannelReader(Listener* listener);
virtual ~ChannelReader();
- void set_listener(Channel::Listener* listener) { listener_ = listener; }
+ void set_listener(Listener* listener) { listener_ = listener; }
// Call to process messages received from the IPC connection and dispatch
// them. Returns false on channel error. True indicates that everything
@@ -49,7 +49,7 @@ class ChannelReader {
protected:
enum ReadState { READ_SUCCEEDED, READ_FAILED, READ_PENDING };
- Channel::Listener* listener() const { return listener_; }
+ Listener* listener() const { return listener_; }
// Populates the given buffer with data from the pipe.
//
@@ -86,7 +86,7 @@ class ChannelReader {
// Returns true on success. False means channel error.
bool DispatchInputData(const char* input_data, int input_data_len);
- Channel::Listener* listener_;
+ Listener* listener_;
// We read from the pipe into this buffer. Managed by DispatchInputData, do
// not access directly outside that function.