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

Unified Diff: util/misc/uuid.h

Issue 867363003: win: Implementation of CrashReportDatabase for Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 10 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 | « client/crash_report_database_win.cc ('k') | util/misc/uuid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « client/crash_report_database_win.cc ('k') | util/misc/uuid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698