summaryrefslogtreecommitdiffstats
path: root/net/base/base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/base64.h')
-rw-r--r--net/base/base64.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/base64.h b/net/base/base64.h
index 83511d8..f2452d1 100644
--- a/net/base/base64.h
+++ b/net/base/base64.h
@@ -32,6 +32,8 @@
#include <string>
+namespace net {
+
// Encodes the input string in base64. Returns true if successful and false
// otherwise. The output string is only modified if successful.
bool Base64Encode(const std::string& input, std::string* output);
@@ -40,4 +42,6 @@ bool Base64Encode(const std::string& input, std::string* output);
// otherwise. The output string is only modified if successful.
bool Base64Decode(const std::string& input, std::string* output);
+} // namespace net
+
#endif // NET_BASE_BASE64_H__