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

Unified Diff: util/misc/uuid.h

Issue 999953002: Use LockFile/UnlockFile for Settings to port to Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@lock-fileio-2
Patch Set: review fixes Created 5 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 | « util/file/file_io_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 29b36bc09b8c8c26ded6dd6e63effa7d23b5fb87..41bd0bef4079b9dfadb7111ea3bfcd7fbb5a1e16 100644
--- a/util/misc/uuid.h
+++ b/util/misc/uuid.h
@@ -84,6 +84,9 @@ struct UUID {
base::string16 ToString16() const;
#endif // OS_WIN
+ //! \brief Uses a standard system facility to generate a new UUID.
+ static bool GenerateFromSystem(UUID* into);
Mark Mentovai 2015/04/01 21:15:19 Thank you for doing this! It’s been on my list cat
scottmg 2015/04/01 21:51:37 Done. I didn't add the constructor mode as UuidCre
+
// 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 | « util/file/file_io_win.cc ('k') | util/misc/uuid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698