update_engine: Use chromeos::Process in http_fetcher_unittest.
The HttpFetcher unittest spawned a process using glib's
g_spawn_async_with_pipes() function to start the test http server. This
patch uses the equivalent chromeos::Process to spawn and manage the
process, simplifying the test and removing the dependency.
BUG=chromium:499886
TEST=Unittest still pass
Change-Id: I46dfe852819d9044981445b79a32d8955ef3f31b
Reviewed-on: https://chromium-review.googlesource.com/291660
Reviewed-by: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
1 file changed