Index: components/breakpad/app/breakpad_linux.cc |
=================================================================== |
--- components/breakpad/app/breakpad_linux.cc (revision 272375) |
+++ components/breakpad/app/breakpad_linux.cc (working copy) |
@@ -204,16 +204,10 @@ |
} |
void SetClientIdFromCommandLine(const CommandLine& command_line) { |
- // Get the guid and linux distro from the command line switch. |
+ // Get the guid from the command line switch. |
std::string switch_value = |
command_line.GetSwitchValueASCII(switches::kEnableCrashReporter); |
- size_t separator = switch_value.find(","); |
- if (separator != std::string::npos) { |
- GetBreakpadClient()->SetClientID(switch_value.substr(0, separator)); |
- base::SetLinuxDistro(switch_value.substr(separator + 1)); |
- } else { |
- GetBreakpadClient()->SetClientID(switch_value); |
- } |
+ GetBreakpadClient()->SetClientID(switch_value); |
} |
// MIME substrings. |