Index: base/string_util.h |
diff --git a/base/string_util.h b/base/string_util.h |
index 28c5d3549eacbc8d94086bb8fe2cf5a952882287..6ee079a12ef8c7fafc869edacce1678c771bbb01 100644 |
--- a/base/string_util.h |
+++ b/base/string_util.h |
@@ -494,6 +494,10 @@ void SplitStringDontTrim(const std::string& str, |
char s, |
std::vector<std::string>* r); |
+// Does the opposite of SplitString(). |
+std::wstring JoinString(const std::vector<std::wstring>& parts, wchar_t s); |
+std::string JoinString(const std::vector<std::string>& parts, char s); |
+ |
// WARNING: this uses whitespace as defined by the HTML5 spec. If you need |
// a function similar to this but want to trim all types of whitespace, then |
// factor this out into a function that takes a string containing the characters |