Create ChildJob subclasses and move more job logic in there
Moving some more process management (fork, kill) behind the ChildJob
abstraction simplifies a lot of code and unit tests. It also allows
me to create specialized BrowserJob and GeneratorJob subclasses that
manage the appropriate kinds of child processes in the correct way.
BUG=None
TEST=unit
TEST=login_LoginSuccess
TEST=suite:smoke
Change-Id: Ic84c986b2c5a37dbdfaad0a8eb3dc26193a5a86e
Reviewed-on: https://chromium-review.googlesource.com/182351
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
31 files changed