| Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| index 9ce1bf211d45ab968b8c3298256ddd0bfc2bc4ca..9a9938bfb6865940219564333d39611b1f552159 100644
|
| --- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| +++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| @@ -236,6 +236,10 @@ void OptionallyRunChromeOSLoginManager(const CommandLine& parsed_command_line,
|
| parsed_command_line.GetSwitchValueASCII(switches::kLoginPassword));
|
| } else {
|
| if (!parsed_command_line.HasSwitch(::switches::kTestName)) {
|
| + // Enable CrasAudioHandler logging when chrome restarts after crashing.
|
| + if (chromeos::CrasAudioHandler::IsInitialized())
|
| + chromeos::CrasAudioHandler::Get()->LogErrors();
|
| +
|
| // We did not log in (we crashed or are debugging), so we need to
|
| // restore Sync.
|
| LoginUtils::Get()->RestoreAuthenticationSession(profile);
|
|
|