[Android] Use a "unique" remote debugging socket name on bind failure
When socket bind failure happens on enabling remote web debugging, retry using a socket name with PID suffix to ensure uniquiness. This allows several channels of Chrome to have remote web debugging enabled simultaneously. Also, this preserves backwards compatibility, as in the case of the single Chrome instance on a device, remote debugging socket name is unchanged. It seems easier to add retry functionality to UnixDomainSocket, as DevToolsHttpHandler creation is heavily asynchronous. BUG=222338 Review URL: https://chromiumcodereview.appspot.com/16093005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203132 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment