diff options
Diffstat (limited to 'chrome/app/breakpad_mac.mm')
-rw-r--r-- | chrome/app/breakpad_mac.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm index 11b08d6..f66093b 100644 --- a/chrome/app/breakpad_mac.mm +++ b/chrome/app/breakpad_mac.mm @@ -131,6 +131,12 @@ void InitCrashReporter() { // TODO: Should this only be done for certain process types? child_process_logging::SetCrashKeyFunctions(SetCrashKeyValue, ClearCrashKeyValue); + if (!is_browser) { + // Get the guid from the command line switch. + std::string guid = WideToASCII( + parsed_command_line.GetSwitchValue(switches::kEnableCrashReporter)); + child_process_logging::SetClientId(guid); + } } void InitCrashProcessInfo() { |