| Index: third_party/crashpad/crashpad/tools/tool_support.cc
|
| diff --git a/third_party/crashpad/crashpad/tools/tool_support.cc b/third_party/crashpad/crashpad/tools/tool_support.cc
|
| index f6d4f84c06a0e38c49873de2398e14965d3d4f5c..15deead02d2d48bcfefc8c0125569729a8a7dfa3 100644
|
| --- a/third_party/crashpad/crashpad/tools/tool_support.cc
|
| +++ b/third_party/crashpad/crashpad/tools/tool_support.cc
|
| @@ -98,4 +98,14 @@ base::FilePath::StringType ToolSupport::CommandLineArgumentToFilePathStringType(
|
| #endif // OS_POSIX
|
| }
|
|
|
| +// static
|
| +std::string ToolSupport::FilePathToCommandLineArgument(
|
| + const base::FilePath& file_path) {
|
| +#if defined(OS_POSIX)
|
| + return file_path.value();
|
| +#elif defined(OS_WIN)
|
| + return base::UTF16ToUTF8(file_path.value());
|
| +#endif // OS_POSIX
|
| +}
|
| +
|
| } // namespace crashpad
|
|
|