| Index: base/string_split.h
|
| diff --git a/base/string_split.h b/base/string_split.h
|
| index d36a71fe3f32920ebf453c3a4fdbdbff220bff38..4ded704692eb05a9bb5d32e0dfe3490a3dfc3b79 100644
|
| --- a/base/string_split.h
|
| +++ b/base/string_split.h
|
| @@ -10,6 +10,8 @@
|
| #include <utility>
|
| #include <vector>
|
|
|
| +#include "base/string16.h"
|
| +
|
| namespace base {
|
|
|
| bool SplitStringIntoKeyValues(
|
| @@ -23,6 +25,14 @@ bool SplitStringIntoKeyValuePairs(
|
| char key_value_pair_delimiter,
|
| std::vector<std::pair<std::string, std::string> >* kv_pairs);
|
|
|
| +// The same as SplitString, but use a substring delimiter instead of a char.
|
| +void SplitStringUsingSubstr(const string16& str,
|
| + const string16& s,
|
| + std::vector<string16>* r);
|
| +void SplitStringUsingSubstr(const std::string& str,
|
| + const std::string& s,
|
| + std::vector<std::string>* r);
|
| +
|
| } // namespace base
|
|
|
| #endif // BASE_STRING_SPLIT_H
|
|
|