commit | 29b815316519829f133b39dd1cae7ab6224c9da2 | [log] [tgz] |
---|---|---|
author | Alex Deymo <[email protected]> | Thu Jul 09 11:51:49 2015 -0700 |
committer | ChromeOS Commit Bot <[email protected]> | Sat Jul 11 09:33:04 2015 +0000 |
tree | aab17873b017008d3c2f777017d70d696e656f58 | |
parent | b42b98db059a12c44110588fc0b3d5f82d32a2f8 [diff] |
update_engine: Watch file descriptors using chromeos::MessageLoop. This patch removes all the calls to g_io_*() functions used to create io_channels from a file descriptor and watch for them in the main loop. Instead, we use the chromeos::MessageLoop backed with the glib implementation. This patch also removes the duplicated process handling work done in P2PManager and uses the common Subprocess class instead. BUG=chromium:499886 TEST=Added and updated unittests. Change-Id: Ia093b060d2396325fce69b2bbdb62957ba7bfbc6 Reviewed-on: https://chromium-review.googlesource.com/284593 Tested-by: Alex Deymo <[email protected]> Reviewed-by: Alex Vakulenko <[email protected]> Commit-Queue: Alex Deymo <[email protected]> Trybot-Ready: Alex Deymo <[email protected]>