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

Unified Diff: util/misc/uuid.h

Issue 535343004: Add MachOImageReader and its test (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Address review feedback Created 6 years, 3 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/mac/process_types_test.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 04270e3e6edd731ef2109399e126e5516b60a519..c2529dfca74d9344790ee28c454d5aa73c68b6ca 100644
--- a/util/misc/uuid.h
+++ b/util/misc/uuid.h
@@ -36,6 +36,9 @@ struct UUID {
//! \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 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 | « util/mac/process_types_test.cc ('k') | util/misc/uuid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698