DescriptionIt is possible for AuraInit to fail initialization. If the remote ServiceManager closes while a Service is starting up, then the synchronous calls to Directory will fail before error states are received.
This change follows up a previous change to AuraInit and QuickLauncher which was addressing these crashes in unittests. It refactors AuraInit to have an explicit initialization method. All callsites are updated to check the success of init, and to close cleanly upon failures.
TBR=sky@chromium.org
TEST=mash_browser_tests
BUG=678687
Review-Url: https://codereview.chromium.org/2967943002
Cr-Commit-Position: refs/heads/master@{#484583}
Committed: https://chromium.googlesource.com/chromium/src/+/14402447b7df16d16126dc49a3a44cf66c318c88
Patch Set 1 #
Total comments: 4
Patch Set 2 : Switch to a Create method for AuraInit #
Messages
Total messages: 25 (13 generated)
|