Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: components/breakpad/app/breakpad_linux.cc

Issue 296213004: Linux Breakpad: Do not pass the Linux distro to non-browser processes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698