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

Unified Diff: mojo/edk/embedder/platform_shared_buffer.h

Issue 1755003002: Remove MOJO_DISALLOW_COPY_AND_ASSIGN and MOJO_ALLOW_UNUSED_LOCAL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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 | « mojo/edk/embedder/platform_channel_pair_posix_unittest.cc ('k') | mojo/edk/embedder/process_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/platform_shared_buffer.h
diff --git a/mojo/edk/embedder/platform_shared_buffer.h b/mojo/edk/embedder/platform_shared_buffer.h
index 5494122900394e2b1899908357d38d10b039904e..7ca596a671b847cd3e9d7d2ccf1ef4ac0ef53d40 100644
--- a/mojo/edk/embedder/platform_shared_buffer.h
+++ b/mojo/edk/embedder/platform_shared_buffer.h
@@ -7,6 +7,7 @@
#include <stddef.h>
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
@@ -104,7 +105,7 @@ class MOJO_SYSTEM_IMPL_EXPORT PlatformSharedBuffer
base::Lock lock_;
scoped_ptr<base::SharedMemory> shared_memory_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(PlatformSharedBuffer);
+ DISALLOW_COPY_AND_ASSIGN(PlatformSharedBuffer);
};
// A mapping of a |PlatformSharedBuffer| (compararable to a "file view" in
@@ -145,7 +146,7 @@ class MOJO_SYSTEM_IMPL_EXPORT PlatformSharedBufferMapping {
// created from a duplicate handle.
base::SharedMemory shared_memory_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(PlatformSharedBufferMapping);
+ DISALLOW_COPY_AND_ASSIGN(PlatformSharedBufferMapping);
};
} // namespace edk
« no previous file with comments | « mojo/edk/embedder/platform_channel_pair_posix_unittest.cc ('k') | mojo/edk/embedder/process_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698