[devtools] Support preSuspendModel and postResumeModel hooks
This CL is a preparation for an upcoming CL, in which CoverageModel starts supporting suspendModel/resumeModel. CoverageModel needs to perform actions that still/already require the other models to be suspended/resumed, so this will make use of the new hooks. Drive-by: Don't start shutting down models while still polling data from them. Bug: chromium:1000155, chromium:1002427 Change-Id: I98f318daa909b129d992bdc142d1b3a6ed0adefd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795442 Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Reviewed-by:Alexei Filippov <alph@chromium.org> Cr-Commit-Position: refs/heads/master@{#697546}
Showing
Please register or sign in to comment