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

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: rebase 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
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);
+
// These fields are laid out according to RFC 4122 ยง4.1.2.
uint32_t data_1;
uint16_t data_2;
« client/settings.cc ('K') | « 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