| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 53a1881422b63f5f0c0fa9b053c4255b0b2824f6..a9756829c748bb2e1a8a85e733dc405dd1b45fa6 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -101,6 +101,7 @@
|
| #include "components/cdm/browser/cdm_message_filter_android.h"
|
| #include "components/cloud_devices/common/cloud_devices_switches.h"
|
| #include "components/google/core/browser/google_util.h"
|
| +#include "components/metrics/client_info.h"
|
| #include "components/pref_registry/pref_registry_syncable.h"
|
| #include "components/signin/core/common/profile_management_switches.h"
|
| #include "components/translate/core/common/translate_switches.h"
|
| @@ -1485,10 +1486,11 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
| CommandLine* command_line, int child_process_id) {
|
| #if defined(OS_POSIX)
|
| if (breakpad::IsCrashReporterEnabled()) {
|
| - std::string enable_crash_reporter;
|
| - GoogleUpdateSettings::LoadMetricsClientId(&enable_crash_reporter);
|
| + scoped_ptr<metrics::ClientInfo> client_info =
|
| + GoogleUpdateSettings::LoadMetricsClientInfo();
|
| command_line->AppendSwitchASCII(switches::kEnableCrashReporter,
|
| - enable_crash_reporter);
|
| + client_info ? client_info->client_id
|
| + : std::string());
|
| }
|
| #endif // defined(OS_POSIX)
|
|
|
|
|