commit | 8737af0872165864ebf146b9b045efa5b8fe3cbe | [log] [tgz] |
---|---|---|
author | Jorge Lucangeli Obes <jorgelo@google.com> | Fri Jul 08 13:32:26 2016 -0400 |
committer | Jorge Lucangeli Obes <jorgelo@google.com> | Mon Jul 11 09:57:17 2016 -0400 |
tree | 03d4aa3b5fbe3942853699bb46c6eb91d4863e3a | |
parent | 4e2587e0d5ff362debcd7df81fd6cc799f7f9222 [diff] |
Refactor Service::Start method. This CL extracts code from Service::Start into four helper functions, bringing Service::Start down to 134 lines vs 212 lines originally. This makes the method a lot easier to follow. There is no change in behaviour. Also, make error messages consistent (start with lowercase) and format Service::Start to fit in 100 cols. Bug: 30035168 Change-Id: If979976fba4d339a336d030f802ca9f169fd012c