static
| 92 | |
| 93 | // static |
| 94 | base::FilePath::StringType ToolSupport::CommandLineArgumentToFilePathStringType( |
| 95 | std::string_view path) { |
| 96 | #if BUILDFLAG(IS_POSIX) |
| 97 | return std::string(path.data(), path.size()); |
| 98 | #elif BUILDFLAG(IS_WIN) |
| 99 | return base::UTF8ToWide(path); |
| 100 | #endif // BUILDFLAG(IS_POSIX) |
| 101 | } |
| 102 | |
| 103 | // static |
| 104 | std::string ToolSupport::FilePathToCommandLineArgument( |