diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-23 03:17:02 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-23 03:17:02 +0000 |
commit | bf84c589154a261c540ba514a0cbf600d77e3c9f (patch) | |
tree | f42157e456d3ad08eda83340ed3545634ede05c0 /ipc/ipc_channel.h | |
parent | 09ba32619bab580cf09824850a3c86b10689894c (diff) | |
download | chromium_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.h')
-rw-r--r-- | ipc/ipc_channel.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h index 862c603..cd57b4b 100644 --- a/ipc/ipc_channel.h +++ b/ipc/ipc_channel.h @@ -171,19 +171,6 @@ class IPC_EXPORT Channel : public Message::Sender { void ResetToAcceptingConnectionState(); #endif // defined(OS_POSIX) && !defined(OS_NACL) -#if defined(OS_LINUX) - // Configures the channel to defer OnChannelConnected() until we know the - // global PID of the peer. On Linux, with sandboxed renderers, the browser - // cannot use the process id sent by the renderer in the hello message, - // because the renderer is in its own private PID namespace. With these - // renderers we need to defer our call to OnChannelConnected(peer_pid) until - // we know the global PID. - void SetNeedsOverridePeerPid(); - - // Overrides the peer PID and calls OnChannelConnected() if necessary. - void OverridePeerPid(int32 peer_pid); -#endif // defined(OS_LINUX) - // Returns true if a named server channel is initialized on the given channel // ID. Even if true, the server may have already accepted a connection. static bool IsNamedServerInitialized(const std::string& channel_id); |