diff options
author | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-07 06:15:53 +0000 |
---|---|---|
committer | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-07 06:15:53 +0000 |
commit | 5210d592110f837ea556551f4bf480a1c0ba97ef (patch) | |
tree | 65d85019008680d3e188774f4e1a0b7035a01653 /ipc/ipc_channel.h | |
parent | 231f7a25d46e825262d843203c2208aa888bf612 (diff) | |
download | chromium_src-5210d592110f837ea556551f4bf480a1c0ba97ef.zip chromium_src-5210d592110f837ea556551f4bf480a1c0ba97ef.tar.gz chromium_src-5210d592110f837ea556551f4bf480a1c0ba97ef.tar.bz2 |
IPC::Channel: Reduce POSIX specific API surface
This change is a simple cleanup: It removes some Channel API
that is only used only in POSIX specific tests. These
funtions still live in ChannelPosix. POSIX speicific tests
now touch ChannelPosix instead of its superclass Channel.
TEST=none
R=darin@chromium.org, jam@chromium.org
BUG=377980
Review URL: https://codereview.chromium.org/320433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel.h')
-rw-r--r-- | ipc/ipc_channel.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h index a2b813b..bca3ea0 100644 --- a/ipc/ipc_channel.h +++ b/ipc/ipc_channel.h @@ -187,26 +187,6 @@ class IPC_EXPORT Channel : public Sender { // file descriptor to the caller. // This method can be called on any thread. virtual int TakeClientFileDescriptor() = 0; - - // On POSIX an IPC::Channel can either wrap an established socket, or it - // can wrap a socket that is listening for connections. Currently an - // IPC::Channel that listens for connections can only accept one connection - // at a time. - - // Returns true if the channel supports listening for connections. - virtual bool AcceptsConnections() const = 0; - - // Returns true if the channel supports listening for connections and is - // currently connected. - virtual bool HasAcceptedConnection() const = 0; - - // Returns true if the peer process' effective user id can be determined, in - // which case the supplied peer_euid is updated with it. - virtual bool GetPeerEuid(uid_t* peer_euid) const = 0; - - // Closes any currently connected socket, and returns to a listening state - // for more connections. - virtual void ResetToAcceptingConnectionState() = 0; #endif // defined(OS_POSIX) && !defined(OS_NACL) // Returns true if a named server channel is initialized on the given channel |