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

Unified Diff: components/breakpad/app/breakpad_mac.mm

Issue 365133005: Refactor SetClientID such that metrics rather than crash backs up the client id in Google Update set (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits:grt Created 6 years, 5 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 | « components/breakpad/app/breakpad_linux.cc ('k') | components/metrics/metrics_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/breakpad/app/breakpad_mac.mm
diff --git a/components/breakpad/app/breakpad_mac.mm b/components/breakpad/app/breakpad_mac.mm
index d46b0c4afaaf1b01779644473544860bbecfc7ee..6cb5504f33aad1df4731f89d0c8d781e4748169c 100644
--- a/components/breakpad/app/breakpad_mac.mm
+++ b/components/breakpad/app/breakpad_mac.mm
@@ -238,9 +238,9 @@ void InitCrashReporter(const std::string& process_type) {
if (!is_browser) {
// Get the guid from the command line switch.
- std::string guid =
+ std::string client_guid =
command_line->GetSwitchValueASCII(switches::kEnableCrashReporter);
- GetBreakpadClient()->SetClientID(guid);
+ GetBreakpadClient()->SetBreakpadClientIdFromGUID(client_guid);
}
logging::SetLogMessageHandler(&FatalMessageHandler);
« no previous file with comments | « components/breakpad/app/breakpad_linux.cc ('k') | components/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698