| 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 068ddde24a5b2bc928b13767348b90057def02a7..0f125a1e0c4cc62d3f6a1409fad86bf9683429c9 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -99,6 +99,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/nacl/browser/nacl_browser.h"
|
| #include "components/nacl/browser/nacl_host_message_filter.h"
|
| #include "components/nacl/browser/nacl_process_host.h"
|
| @@ -1469,10 +1470,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)
|
|
|
|
|