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

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: cleanup 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
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 e7847f655f797c8a42718e5c9eabc60b33550cc7..7b8b84b80455351fb8723876f712425a2a4360db 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1470,7 +1470,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
#if defined(OS_POSIX)
if (breakpad::IsCrashReporterEnabled()) {
std::string enable_crash_reporter;
- GoogleUpdateSettings::GetMetricsId(&enable_crash_reporter);
+ GoogleUpdateSettings::RetrieveMetricsID(&enable_crash_reporter);
command_line->AppendSwitchASCII(switches::kEnableCrashReporter,
enable_crash_reporter);
}

Powered by Google App Engine
This is Rietveld 408576698