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

Unified Diff: base/base64.h

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 | « no previous file | base/base64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base64.h
diff --git a/base/base64.h b/base/base64.h
index cc78edce5c6eebdde84dd81eaab41bc0ecf526a1..43d8f76eb764cc1190612365ea8365cc41ef9edb 100644
--- a/base/base64.h
+++ b/base/base64.h
@@ -12,9 +12,8 @@
namespace base {
-// Encodes the input string in base64. Returns true if successful and false
-// otherwise. The output string is only modified if successful.
-BASE_EXPORT bool Base64Encode(const StringPiece& input, std::string* output);
+// Encodes the input string in base64.
+BASE_EXPORT void Base64Encode(const StringPiece& input, std::string* output);
// Decodes the base64 input string. Returns true if successful and false
// otherwise. The output string is only modified if successful.
« no previous file with comments | « no previous file | base/base64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698