Commit 3bd6f0ef authored by Hajime Hoshi's avatar Hajime Hoshi Committed by Commit Bot

base: Fix a wrong comment at string_split.h

Change-Id: I211318679e7d1c7f360a7ac0588713290c27a62d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2400019Reviewed-by: default avatardanakj <danakj@chromium.org>
Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805814}
parent 3c12de2e
...@@ -45,8 +45,7 @@ enum SplitResult { ...@@ -45,8 +45,7 @@ enum SplitResult {
// To split on either commas or semicolons, keeping all whitespace: // To split on either commas or semicolons, keeping all whitespace:
// //
// std::vector<std::string> tokens = base::SplitString( // std::vector<std::string> tokens = base::SplitString(
// input, ", WARN_UNUSED_RESULT;", base::KEEP_WHITESPACE, // input, ",;", base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL);
// base::SPLIT_WANT_ALL) WARN_UNUSED_RESULT;
BASE_EXPORT std::vector<std::string> SplitString(StringPiece input, BASE_EXPORT std::vector<std::string> SplitString(StringPiece input,
StringPiece separators, StringPiece separators,
WhitespaceHandling whitespace, WhitespaceHandling whitespace,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment