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

Unified Diff: chrome/common/metrics/caching_permuted_entropy_provider.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
Index: chrome/common/metrics/caching_permuted_entropy_provider.cc
diff --git a/chrome/common/metrics/caching_permuted_entropy_provider.cc b/chrome/common/metrics/caching_permuted_entropy_provider.cc
index f58dee82e8688b332bacb99112885af95b4978c9..2432f3f97a0d05f91efef290a5728dd805e1d404 100644
--- a/chrome/common/metrics/caching_permuted_entropy_provider.cc
+++ b/chrome/common/metrics/caching_permuted_entropy_provider.cc
@@ -66,10 +66,7 @@ void CachingPermutedEntropyProvider::UpdateLocalState() const {
cache_.SerializeToString(&serialized);
std::string base64_encoded;
- if (!base::Base64Encode(serialized, &base64_encoded)) {
- NOTREACHED();
- return;
- }
+ base::Base64Encode(serialized, &base64_encoded);
local_state_->SetString(prefs::kMetricsPermutedEntropyCache, base64_encoded);
}
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | chrome/test/chromedriver/chrome_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698