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

Unified Diff: base/memory/shared_memory_handle.h

Issue 2849633002: Get rid of base::SharedMemory::NULLHandle(); (Closed)
Patch Set: Rebase. Created 3 years, 8 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 | « base/memory/shared_memory.h ('k') | base/memory/shared_memory_handle_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/shared_memory_handle.h
diff --git a/base/memory/shared_memory_handle.h b/base/memory/shared_memory_handle.h
index 4af796bfa140a3f3c33f5506ea2a4aef9a625829..c0a016f5dcdd94d3b3b01ff89ec1f91c4e6035d6 100644
--- a/base/memory/shared_memory_handle.h
+++ b/base/memory/shared_memory_handle.h
@@ -83,10 +83,6 @@ class BASE_EXPORT SharedMemoryHandle {
mach_vm_size_t size,
base::ProcessId pid);
- // Comparison operators.
- bool operator==(const SharedMemoryHandle& handle) const;
- bool operator!=(const SharedMemoryHandle& handle) const;
-
// Duplicates the underlying OS resources.
SharedMemoryHandle Duplicate() const;
@@ -106,10 +102,6 @@ class BASE_EXPORT SharedMemoryHandle {
#elif defined(OS_WIN)
SharedMemoryHandle(HANDLE h, base::ProcessId pid);
- // Comparison operators.
- bool operator==(const SharedMemoryHandle& handle) const;
- bool operator!=(const SharedMemoryHandle& handle) const;
-
// Whether |pid_| is the same as the current process's id.
bool BelongsToCurrentProcess() const;
« no previous file with comments | « base/memory/shared_memory.h ('k') | base/memory/shared_memory_handle_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698