Index: util/misc/uuid.h |
diff --git a/util/misc/uuid.h b/util/misc/uuid.h |
index 27e2d9a5de1aca5eb35cbe27879a4b053a8dc1f5..bbfc771f59b6d6a9183fbdf4b19793ac0c001879 100644 |
--- a/util/misc/uuid.h |
+++ b/util/misc/uuid.h |
@@ -20,6 +20,7 @@ |
#include <string> |
#include "base/strings/string_piece.h" |
+#include "build/build_config.h" |
namespace crashpad { |
@@ -66,6 +67,11 @@ struct UUID { |
//! \return A string of the form `"00112233-4455-6677-8899-aabbccddeeff"`. |
std::string ToString() const; |
+#if defined(OS_WIN) |
+ //! \brief The same as ToString, but returned as a wstring. |
+ std::wstring ToWideString() const; |
+#endif // OS_WIN |
+ |
// These fields are laid out according to RFC 4122 ยง4.1.2. |
uint32_t data_1; |
uint16_t data_2; |