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

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

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
Index: third_party/crashpad/crashpad/tools/tool_support.h
diff --git a/third_party/crashpad/crashpad/tools/tool_support.h b/third_party/crashpad/crashpad/tools/tool_support.h
index e3a50614f3e4b0004b5566ca79befed124fd28dd..48f412f35f700aa8682b27e07f9bbf535891f9c0 100644
--- a/third_party/crashpad/crashpad/tools/tool_support.h
+++ b/third_party/crashpad/crashpad/tools/tool_support.h
@@ -72,9 +72,18 @@ class ToolSupport {
//! `char*`. This undoes that transformation.
//!
//! \sa Wmain()
+ //! \sa FilePathToCommandLineArgument()
static base::FilePath::StringType CommandLineArgumentToFilePathStringType(
const base::StringPiece& arg);
+ //! \brief Converts a base::FilePath to a command line argument.
+ //!
+ //! On POSIX, this is a no-op. On Windows, this undoes the transformation done
+ //! by CommandLineArgumentToFilePathStringType() in the same manner as
+ //! Wmain().
+ static std::string FilePathToCommandLineArgument(
+ const base::FilePath& file_path);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ToolSupport);
};
« no previous file with comments | « third_party/crashpad/crashpad/tools/generate_dump.cc ('k') | third_party/crashpad/crashpad/tools/tool_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698