As well as the obvious #ifdef stuff, the patch removes TCPSocket::SetAppIdAndBrowser(), which means {TCPSocketParent,TCPServerSocketParent}::{GetAppId,GetInIsolatedMozBrowser}() can also be removed.