| 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 60904de23a845412a2be25ffeb723495f223062a..4b4d4e4deb6d913c155898c490487b8b888194e4 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -142,7 +142,6 @@
|
| #elif defined(OS_MACOSX)
|
| #include "chrome/browser/chrome_browser_main_mac.h"
|
| #include "chrome/browser/spellchecker/spellcheck_message_filter_mac.h"
|
| -#include "components/crash/app/breakpad_mac.h"
|
| #elif defined(OS_CHROMEOS)
|
| #include "chrome/browser/chromeos/chrome_browser_main_chromeos.h"
|
| #include "chrome/browser/chromeos/drive/fileapi/file_system_backend_delegate.h"
|
| @@ -1289,7 +1288,14 @@ bool IsAutoReloadVisibleOnlyEnabled() {
|
| void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
| base::CommandLine* command_line,
|
| int child_process_id) {
|
| -#if defined(OS_POSIX)
|
| +#if defined(OS_MACOSX)
|
| + scoped_ptr<metrics::ClientInfo> client_info =
|
| + GoogleUpdateSettings::LoadMetricsClientInfo();
|
| + if (client_info) {
|
| + command_line->AppendSwitchASCII(switches::kMetricsClientID,
|
| + client_info->client_id);
|
| + }
|
| +#elif defined(OS_POSIX)
|
| if (breakpad::IsCrashReporterEnabled()) {
|
| scoped_ptr<metrics::ClientInfo> client_info =
|
| GoogleUpdateSettings::LoadMetricsClientInfo();
|
| @@ -1297,7 +1303,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
|
| client_info ? client_info->client_id
|
| : std::string());
|
| }
|
| -#endif // defined(OS_POSIX)
|
| +#endif
|
|
|
| if (logging::DialogsAreSuppressed())
|
| command_line->AppendSwitch(switches::kNoErrorDialogs);
|
|
|