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

Unified Diff: util/misc/uuid.cc

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 | « util/misc/uuid.h ('k') | util/test/scoped_temp_dir.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/misc/uuid.cc
diff --git a/util/misc/uuid.cc b/util/misc/uuid.cc
index 5f6bf14856191fdb50f84ede3f8fe1fb054214ee..592b7d2b38e12b4e73e5817e60f22fef733e922f 100644
--- a/util/misc/uuid.cc
+++ b/util/misc/uuid.cc
@@ -20,6 +20,7 @@
#include "base/basictypes.h"
#include "base/strings/stringprintf.h"
+#include "base/strings/utf_string_conversions.h"
#include "base/sys_byteorder.h"
#include "util/stdlib/cxx.h"
@@ -98,4 +99,10 @@ std::string UUID::ToString() const {
data_5[5]);
}
+#if defined(OS_WIN)
+std::wstring UUID::ToWideString() const {
+ return base::UTF8ToUTF16(ToString());
+}
+#endif // OS_WIN
+
} // namespace crashpad
« no previous file with comments | « util/misc/uuid.h ('k') | util/test/scoped_temp_dir.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698