-
Luum Habtemariam authored
DDoc: go/cups-plugin The service should lazily start once it knows the daemon has started; this CL adds a WaitForServiceToBeAvailable method to the CupsProxyClient for that purpose. This CL also adds the CupsProxyServiceManager, which is started with the browser, waits for daemon startup, then starts the service by connecting to it. Note: the service maintains its own lifetime and connection with the daemon; this manager simply starts it. Bug: chromium:945409 Test: TBD Change-Id: Idf08a1153493c8e7abfcd5ad291203ea12a692b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1586540Reviewed-by:
Lei Zhang <thestig@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Ken Rockot <rockot@google.com> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Dan Erat <derat@chromium.org> Commit-Queue: Luum Habtemariam <luum@chromium.org> Cr-Commit-Position: refs/heads/master@{#664577}
481ed7e6