| Index: third_party/crashpad/crashpad/util/string/split_string.h
|
| diff --git a/third_party/crashpad/crashpad/util/string/split_string.h b/third_party/crashpad/crashpad/util/string/split_string.h
|
| index bb729041a8647e00f62270265d141f17e2432fc0..4ea89d245939f7035f10002da61b5a83adf4a623 100644
|
| --- a/third_party/crashpad/crashpad/util/string/split_string.h
|
| +++ b/third_party/crashpad/crashpad/util/string/split_string.h
|
| @@ -16,6 +16,7 @@
|
| #define CRASHPAD_UTIL_STRING_SPLIT_STRING_H_
|
|
|
| #include <string>
|
| +#include <vector>
|
|
|
| namespace crashpad {
|
|
|
| @@ -31,10 +32,17 @@ namespace crashpad {
|
| //! \return `true` if \a string was split successfully. `false` if \a string
|
| //! did not contain a \delimiter character or began with a \delimiter
|
| //! character.
|
| -bool SplitString(const std::string& string,
|
| - char delimiter,
|
| - std::string* left,
|
| - std::string* right);
|
| +bool SplitStringFirst(const std::string& string,
|
| + char delimiter,
|
| + std::string* left,
|
| + std::string* right);
|
| +
|
| +//! \brief Splits a string into multiple parts on the given delimiter.
|
| +//!
|
| +//! \param[in] string The string to split.
|
| +//! \param[in] delimiter The delimiter to split at.
|
| +//! \return The individual parts of the string.
|
| +std::vector<std::string> SplitString(const std::string& str, char delimiter);
|
|
|
| } // namespace crashpad
|
|
|
|
|