Chromium Code Reviews| Index: chrome/common/child_process_logging_win.cc |
| diff --git a/chrome/common/child_process_logging_win.cc b/chrome/common/child_process_logging_win.cc |
| index 1befb33b23a2eb971ddecee0e1c277a40b51e471..156c3701b155d6d8949b4b6cf0ff50207aaed7e7 100644 |
| --- a/chrome/common/child_process_logging_win.cc |
| +++ b/chrome/common/child_process_logging_win.cc |
| @@ -65,12 +65,13 @@ void Init() { |
| base::debug::SetCrashKeyReportingFunctions( |
| &SetCrashKeyValueTrampoline, &ClearCrashKeyValueTrampoline); |
| - // This would be handled by BreakpadClient::SetClientID(), but because of the |
| - // aforementioned issue, crash keys aren't ready yet at the time of Breakpad |
| - // initialization. |
| - std::string client_id; |
| - if (GoogleUpdateSettings::GetMetricsId(&client_id)) |
| - base::debug::SetCrashKeyValue(crash_keys::kClientID, client_id); |
| + // This would be handled by BreakpadClient::SetBreakpadClientID(), but because |
|
grt (UTC plus 2)
2014/07/09 12:59:59
SetBreakpadClientID -> SetBreakpadClientIdFromGUID
gab
2014/07/09 14:42:38
Done.
|
| + // of the aforementioned issue, crash keys aren't ready yet at the time of |
| + // Breakpad initialization, load the client id backed up in Google Update |
| + // settings instead. |
| + std::string client_guid; |
| + if (GoogleUpdateSettings::LoadMetricsClientId(&client_guid)) |
| + crash_keys::SetCrashClientIdFromGUID(client_guid); |
| } |
| } // namespace child_process_logging |