summaryrefslogtreecommitdiffstats
path: root/base/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/base64.h')
-rw-r--r--base/base64.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/base/base64.h b/base/base64.h
index e966ea7..294fb83 100644
--- a/base/base64.h
+++ b/base/base64.h
@@ -9,17 +9,16 @@
#include <string>
#include "base/base_api.h"
-#include "base/string_piece.h"
namespace base {
// Encodes the input string in base64. Returns true if successful and false
// otherwise. The output string is only modified if successful.
-BASE_API bool Base64Encode(const StringPiece& input, std::string* output);
+BASE_API bool Base64Encode(const std::string& input, std::string* output);
// Decodes the base64 input string. Returns true if successful and false
// otherwise. The output string is only modified if successful.
-BASE_API bool Base64Decode(const StringPiece& input, std::string* output);
+BASE_API bool Base64Decode(const std::string& input, std::string* output);
} // namespace base