Commit f8bf19aa authored by Torne (Richard Coles)'s avatar Torne (Richard Coles) Committed by Commit Bot

Allow the devtools socket to have no address.

Don't print an error message if the address is invalid on Android,
because Android uses UNIX domain sockets, which don't have an IP
address.

Bug: 854472
Change-Id: I169450b658fb22e036e70182dabc4e6193feacad
Reviewed-on: https://chromium-review.googlesource.com/1108754
Commit-Queue: Richard Coles <torne@chromium.org>
Reviewed-by: default avatarPavel Feldman <pfeldman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570852}
parent 2e14c65d
......@@ -289,7 +289,10 @@ void StartServerOnHandlerThread(
}
}
} else {
LOG(ERROR) << "Cannot start http server for devtools. Stop devtools.";
#if !defined(OS_ANDROID)
// Android uses UNIX domain sockets which don't have an IP address.
LOG(ERROR) << "Cannot start http server for devtools.";
#endif
}
BrowserThread::PostTask(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment