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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 86913002: Make base::Base64Encode() return void (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: One more chromeos-specific fix. Created 7 years 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/media/desktop_streams_registry.cc ('k') | chrome/browser/metrics/metrics_log_serializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index 72d738b00100232bfe80d5d36fb16e0d31d12ada..9ebf3bc72e2dbe7c9e57ca7e3e8a4aade3a9e105 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -803,8 +803,8 @@ void MetricsLog::RecordEnvironment(
std::string serialied_system_profile;
std::string base64_system_profile;
- if (system_profile->SerializeToString(&serialied_system_profile) &&
- base::Base64Encode(serialied_system_profile, &base64_system_profile)) {
+ if (system_profile->SerializeToString(&serialied_system_profile)) {
+ base::Base64Encode(serialied_system_profile, &base64_system_profile);
PrefService* local_state = GetPrefService();
local_state->SetString(prefs::kStabilitySavedSystemProfile,
base64_system_profile);
« no previous file with comments | « chrome/browser/media/desktop_streams_registry.cc ('k') | chrome/browser/metrics/metrics_log_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698