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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

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 | « chrome/app/client_util.cc ('k') | chrome/browser/google/google_update_settings_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d3c3c2b0fff4cd4668a4d070380bb47cda6b8d8..52730b7abe8f030e05de8e4fccf5394ca20c8419 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1468,7 +1468,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
#if defined(OS_POSIX)
if (breakpad::IsCrashReporterEnabled()) {
std::string enable_crash_reporter;
- GoogleUpdateSettings::GetMetricsId(&enable_crash_reporter);
+ GoogleUpdateSettings::LoadMetricsClientId(&enable_crash_reporter);
command_line->AppendSwitchASCII(switches::kEnableCrashReporter,
enable_crash_reporter);
}
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/browser/google/google_update_settings_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698