Signal chrome_elf to initialize crash reporting, rather than doing it in DllMain
Currently, initialization crash reporting indirectly calls
CreateProcess() from chrome_elf's DllMain(), which causes deadlock in
some configurations (showing up in M54).
Instead, signal to chrome_elf that it should initialize crash reporting
later in WinMain(). This means we lose a little coverage that we were
hoping to gain from the move to chrome_elf, but a localized fix is
required for merge to stable.
Follow up bug is https://crbug.com/656800.
TEST=enforce certificate rules per https://bugs.chromium.org/p/chromium/issues/detail?id=655788#c57 and then try to launch chrome.
(cherry picked from commit f3a5670dd8d42b045d31625dde4a2561b471138f)
Review URL: https://codereview.chromium.org/2431483004 .
4 files changed