Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: third_party/crashpad/crashpad/tools/tool_support.cc

Issue 2754553002: Update Crashpad to 18d70acf81df49cc10b00bcc67c1ec64e16bd9d0 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/crashpad/crashpad/tools/tool_support.h ('k') | third_party/crashpad/crashpad/tools/tools.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/crashpad/crashpad/tools/tool_support.h ('k') | third_party/crashpad/crashpad/tools/tools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698