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

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: Created 7 years, 1 month 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..bc6a39f36c4450593d0ecfc60c7ed4f5c6148b1d 100644
--- a/base/base64.h
+++ b/base/base64.h
@@ -12,8 +12,7 @@
namespace base {
-// Encodes the input string in base64. Returns true if successful and false
-// otherwise. The output string is only modified if successful.
+// Encodes the input string in base64. Returns true.
BASE_EXPORT bool Base64Encode(const StringPiece& input, std::string* output);
brettw 2013/12/05 06:33:57 It seems like we should just fix the return value
// Decodes the base64 input string. Returns true if successful and false
« 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