Clear SingleProcess and InProcessGPU logic.
commit528194730156b663c09a72ce6494603bcf3645f0
authordongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 24 Nov 2013 22:49:55 +0000 (24 22:49 +0000)
committerdongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 24 Nov 2013 22:49:55 +0000 (24 22:49 +0000)
tree7ac7020ac8c4440e0c963effeb969f967a2f80ab
parentb97074df7e28ccd9c7b158c230f04b1a4c3ad8b6
Clear SingleProcess and InProcessGPU logic.

1. SingleProcess and InProcessGPU mode are not supported in multiple-dll mode
currently. Add CHECK() in RunNamedProcessTypeMain().

2. GPU Process.
1) Currently, if InProcessGPU mode is enabled and g_gpu_main_thread_factory is
not set, launch GPU Process slightly. However, other InProcessGPU code does not check if
g_gpu_main_thread_factory is not set. It is a potential bug.

2) GpuMain() can not be called when SingleProcess or InProcessGPU mode. Remove
SingleProcess and InProcessGPU switch check code.

3. Currently, if SingleProcess mode is enabled and g_renderer_main_thread_factory
is not set, launch Render Process slightly. It is a potential bug.

4. Currently, if SingleProcess mode is enabled and g_utility_main_thread_factory
is not set, launch Utility Process slightly. It is a potential bug.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237011 0039d316-1c4b-4281-b951-d872f2087c98
content/app/content_main_runner.cc
content/browser/gpu/gpu_process_host.cc
content/browser/renderer_host/render_process_host_impl.cc
content/browser/utility_process_host_impl.cc
content/gpu/gpu_main.cc