| Index: base/strings/string_split.h
|
| diff --git a/base/strings/string_split.h b/base/strings/string_split.h
|
| index dc4108d327ff2a4653bd58090bfcdc19995150b4..3eed97458cb0bb6c6c1acdbcd422877cfd20dc9f 100644
|
| --- a/base/strings/string_split.h
|
| +++ b/base/strings/string_split.h
|
| @@ -101,58 +101,6 @@ BASE_EXPORT void SplitStringUsingSubstr(const std::string& str,
|
| const std::string& s,
|
| std::vector<std::string>* r);
|
|
|
| -// -----------------------------------------------------------------------------
|
| -// Backwards-compat wrappers
|
| -//
|
| -// New code should use one of the more general variants above.
|
| -// TODO(brettw) remove these and convert to the versions above.
|
| -
|
| -// Splits |str| into a vector of strings delimited by |c|, placing the results
|
| -// in |r|. If several instances of |c| are contiguous, or if |str| begins with
|
| -// or ends with |c|, then an empty string is inserted.
|
| -//
|
| -// Every substring is trimmed of any leading or trailing white space.
|
| -// NOTE: |c| must be in BMP (Basic Multilingual Plane)
|
| -BASE_EXPORT void SplitString(const string16& str,
|
| - char16 c,
|
| - std::vector<string16>* r);
|
| -
|
| -// |str| should not be in a multi-byte encoding like Shift-JIS or GBK in which
|
| -// the trailing byte of a multi-byte character can be in the ASCII range.
|
| -// UTF-8, and other single/multi-byte ASCII-compatible encodings are OK.
|
| -// Note: |c| must be in the ASCII range.
|
| -BASE_EXPORT void SplitString(const std::string& str,
|
| - char c,
|
| - std::vector<std::string>* r);
|
| -
|
| -// The same as SplitString, but don't trim white space.
|
| -// NOTE: |c| must be in BMP (Basic Multilingual Plane)
|
| -BASE_EXPORT void SplitStringDontTrim(StringPiece16 str,
|
| - char16 c,
|
| - std::vector<string16>* r);
|
| -// |str| should not be in a multi-byte encoding like Shift-JIS or GBK in which
|
| -// the trailing byte of a multi-byte character can be in the ASCII range.
|
| -// UTF-8, and other single/multi-byte ASCII-compatible encodings are OK.
|
| -// Note: |c| must be in the ASCII range.
|
| -BASE_EXPORT void SplitStringDontTrim(StringPiece str,
|
| - char c,
|
| - std::vector<std::string>* result);
|
| -
|
| -// WARNING: this uses whitespace as defined by the HTML5 spec (ASCII whitespace
|
| -// only).
|
| -//
|
| -// The difference between this and calling SplitString with the whitespace
|
| -// characters as separators is the treatment of the first element when the
|
| -// string starts with whitespace.
|
| -//
|
| -// Input SplitString SplitStringAlongWhitespace
|
| -// --------------------------------------------------------
|
| -// " a " "", "a" "a"
|
| -BASE_EXPORT void SplitStringAlongWhitespace(const string16& str,
|
| - std::vector<string16>* result);
|
| -BASE_EXPORT void SplitStringAlongWhitespace(const std::string& str,
|
| - std::vector<std::string>* result);
|
| -
|
| } // namespace base
|
|
|
| #endif // BASE_STRINGS_STRING_SPLIT_H_
|
|
|