Descriptionmojo: allow BackgroundServiceLoader-loaded apps to Quit themselves.
You can't Quit() the MessageLoop of a base::Thread. This CL makes
BackgroundServiceLoader use DelegateSimpleThread and run a MessageLoop
instead of using base::Thread, so that applications can safely Quit()
their current MessageLoop as usual to signify that they are done.
This shouldn't be necessary for the desktop shell once services are moved
out (network, NVS), but we'll likely continue to use this loader on android.
Note: the quit_on_shutdown() method is being removed in https://codereview.chromium.org/394903005/
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287475
Patch Set 1 #
Total comments: 10
Patch Set 2 : review #Patch Set 3 : rebase #
Messages
Total messages: 27 (0 generated)
|