diff options
Diffstat (limited to 'base/memory/shared_memory_handle.h')
-rw-r--r-- | base/memory/shared_memory_handle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/memory/shared_memory_handle.h b/base/memory/shared_memory_handle.h index b3dfc8f..49398a4 100644 --- a/base/memory/shared_memory_handle.h +++ b/base/memory/shared_memory_handle.h @@ -75,12 +75,15 @@ class BASE_EXPORT SharedMemoryHandle { #else class BASE_EXPORT SharedMemoryHandle { public: + // The values of these enums must not change, as they are used by the + // histogram OSX.SharedMemory.Mechanism. enum Type { // The SharedMemoryHandle is backed by a POSIX fd. POSIX, // The SharedMemoryHandle is backed by the Mach primitive "memory object". MACH, }; + static const int TypeMax = 2; // The format that should be used to transmit |Type| over the wire. typedef int TypeWireFormat; |