| Index: base/strings/string_split.h
|
| diff --git a/base/strings/string_split.h b/base/strings/string_split.h
|
| index ec9f24604a6339051f9aa9086b3460c71e983559..24b9dfa1e9fb7c8842da5aae3a9bb5a57b5af0ed 100644
|
| --- a/base/strings/string_split.h
|
| +++ b/base/strings/string_split.h
|
| @@ -90,16 +90,16 @@ BASE_EXPORT bool SplitStringIntoKeyValuePairs(StringPiece input,
|
|
|
| // Similar to SplitString, but use a substring delimiter instead of a list of
|
| // characters that are all possible delimiters.
|
| -//
|
| -// TODO(brettw) this should probably be changed and expanded to provide a
|
| -// mirror of the SplitString[Piece] API above, just with the different
|
| -// delimiter handling.
|
| -BASE_EXPORT void SplitStringUsingSubstr(StringPiece16 input,
|
| - StringPiece16 delimiter,
|
| - std::vector<string16>* result);
|
| -BASE_EXPORT void SplitStringUsingSubstr(StringPiece input,
|
| - StringPiece delimiter,
|
| - std::vector<std::string>* result);
|
| +BASE_EXPORT std::vector<string16> SplitStringUsingSubstr(
|
| + StringPiece16 input,
|
| + StringPiece16 delimiter,
|
| + WhitespaceHandling whitespace,
|
| + SplitResult result_type);
|
| +BASE_EXPORT std::vector<std::string> SplitStringUsingSubstr(
|
| + StringPiece input,
|
| + StringPiece delimiter,
|
| + WhitespaceHandling whitespace,
|
| + SplitResult result_type);
|
|
|
| // Like SplitStringUsingSubstr above except it returns a vector of StringPieces
|
| // which reference the original buffer without copying. Although you have to be
|
|
|