Move interactive_ui_tests setup into a TestSuite::Initialize override.

It is problematic to run code in main() before setting up the test
suite. In this case interactive_ui_tests on desktop linux_aura would
end up making Xlib calls in CreateUIControlsDesktopAura(). Then we
later do XInitThreads() in GLSurface::InitializeOneOffForTests().

XInitThreads() must be the first call to Xlib or we end up causing
Xlib hangs later on. But we don't want to just call it always in main
because that duplicates the call a lot, and we don't need to use it
unless we're using in-process GL on a thread.

We should GLSurface::InitializeOneOffForTests() inside a
TestSuite::Initialize() because there is code in there that makes
use of CommandLine and that is set up by base::TestSuite.

To solve this, move the interactive_ui_tests setup code into a
ChromeTestSuite subclass. Inject the subclass into LaunchChromeTests
using a factory, since we want to create the subclass later on.

This prevents Xlib deadlocks when the Gpu thread does synchronous X
calls and the ui thread is blocked on the Gpu thread by keeping the
Xlib in a happy state.

R=sky
BUG=270918

Review URL: https://codereview.chromium.org/176963014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253428 0039d316-1c4b-4281-b951-d872f2087c98
Add a comment regarding base::PathService::Override usage.

Review URL: https://codereview.chromium.org/178553003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253429 0039d316-1c4b-4281-b951-d872f2087c98
[Mac] Disable Mach IPC between renderers and cfprefsd.

BUG=306348

Review URL: https://codereview.chromium.org/148893005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253430 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253429
Adds the origin chip on Mac.

BUG=

Review URL: https://codereview.chromium.org/152543008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253431 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253431