// Copyright 2020 Google LLC. All Rights Reserved. #ifndef BASE_BASE64_H_ #define BASE_BASE64_H_ #include namespace base { // Encodes the input string in base64. // Note that the Chromium code uses base::StringPiece for |input|, but to // avoid dragging in too much code, use std::string instead (which is // convertable to base::StringPiece automatically). void Base64Encode(const std::string& input, std::string* output); } // namespace base #endif // BASE_BASE64_H_