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

Unified Diff: ipc/ipc_channel.h

Issue 320433002: IPC::Channel: Reduce POSIX specific API surface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Landig Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ipc/ipc_channel_posix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel.h
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h
index a2b813b48b6716e85633dcfdd6ae7bcc5bf556d0..bca3ea066c35f3477b37886fe16adf9e4ac5efbe 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
« no previous file with comments | « no previous file | ipc/ipc_channel_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698