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

Unified Diff: third_party/crashpad/crashpad/util/misc/uuid.h

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 years 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 | « third_party/crashpad/crashpad/util/misc/metrics.h ('k') | third_party/crashpad/crashpad/util/misc/uuid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/crashpad/crashpad/util/misc/uuid.h
diff --git a/third_party/crashpad/crashpad/util/misc/uuid.h b/third_party/crashpad/crashpad/util/misc/uuid.h
index f25aa652f64a79adec50bca17e8e2ec6580a337d..4e5884e25abac8d726dde2c2d8c260d9fe115115 100644
--- a/third_party/crashpad/crashpad/util/misc/uuid.h
+++ b/third_party/crashpad/crashpad/util/misc/uuid.h
@@ -36,27 +36,14 @@ namespace crashpad {
//!
//! A %UUID is a unique 128-bit number specified by RFC 4122.
//!
-//! This is a standard-layout structure.
+//! This is a POD structure.
struct UUID {
- //! \brief Initializes the %UUID to zero.
- UUID();
-
- //! \brief Tag to pass to constructor to indicate it should initialize with
- //! generated data.
- struct InitializeWithNewTag {};
-
- //! \brief Initializes the %UUID using a standard system facility to generate
- //! the value.
- //!
- //! CHECKs on failure with a message logged.
- explicit UUID(InitializeWithNewTag);
-
- //! \copydoc InitializeFromBytes()
- explicit UUID(const uint8_t* bytes);
-
bool operator==(const UUID& that) const;
bool operator!=(const UUID& that) const { return !operator==(that); }
+ //! \brief Initializes the %UUID to zero.
+ void InitializeToZero();
+
//! \brief Initializes the %UUID from a sequence of bytes.
//!
//! \a bytes is taken as a %UUID laid out in big-endian format in memory. On
« no previous file with comments | « third_party/crashpad/crashpad/util/misc/metrics.h ('k') | third_party/crashpad/crashpad/util/misc/uuid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698