summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_posix.h
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 03:17:02 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 03:17:02 +0000
commitbf84c589154a261c540ba514a0cbf600d77e3c9f (patch)
treef42157e456d3ad08eda83340ed3545634ede05c0 /ipc/ipc_channel_posix.h
parent09ba32619bab580cf09824850a3c86b10689894c (diff)
downloadchromium_src-bf84c589154a261c540ba514a0cbf600d77e3c9f.zip
chromium_src-bf84c589154a261c540ba514a0cbf600d77e3c9f.tar.gz
chromium_src-bf84c589154a261c540ba514a0cbf600d77e3c9f.tar.bz2
This patch caused Chrome to be unable to load any web pages on Chrome OS.
BUG=chromium-os:19468 TEST=confirm chrome loads pages Revert "Fix IPC OnChannelConnected() to send correct PID on Linux/CrOS" This reverts commit 92321e01ba42f2d0e9508e921f8b440ac0b5319f. Review URL: http://codereview.chromium.org/7712022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97811 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_posix.h')
-rw-r--r--ipc/ipc_channel_posix.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ipc/ipc_channel_posix.h b/ipc/ipc_channel_posix.h
index c1aaa2b..b66b1fc 100644
--- a/ipc/ipc_channel_posix.h
+++ b/ipc/ipc_channel_posix.h
@@ -62,10 +62,6 @@ class Channel::ChannelImpl : public MessageLoopForIO::Watcher {
bool HasAcceptedConnection() const;
bool GetClientEuid(uid_t* client_euid) const;
void ResetToAcceptingConnectionState();
-#if defined(OS_LINUX)
- void SetNeedsOverridePeerPid();
- void OverridePeerPid(int32 peer_pid);
-#endif // defined(OS_LINUX)
static bool IsNamedServerInitialized(const std::string& channel_id);
private:
@@ -151,10 +147,6 @@ class Channel::ChannelImpl : public MessageLoopForIO::Watcher {
// True if we are responsible for unlinking the unix domain socket file.
bool must_unlink_;
- // See IPC::Channel::SetNeedsOverridePeerPid() header comment for details.
- bool needs_override_peer_pid_;
- int32 override_peer_pid_;
-
DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelImpl);
};