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

Unified Diff: mojo/public/cpp/utility/mutex.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/public/cpp/utility/lib/thread.cc ('k') | mojo/public/cpp/utility/run_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/utility/mutex.h
diff --git a/mojo/public/cpp/utility/mutex.h b/mojo/public/cpp/utility/mutex.h
index 4dc4aeecf491043a35255c5d06c7da979ff07433..0f9bee092ac15e1bf0957ca7610bd5fc00d2bdce 100644
--- a/mojo/public/cpp/utility/mutex.h
+++ b/mojo/public/cpp/utility/mutex.h
@@ -11,6 +11,7 @@
#include <pthread.h>
+#include "base/macros.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
@@ -48,7 +49,7 @@ class Mutex {
private:
pthread_mutex_t mutex_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(Mutex);
+ DISALLOW_COPY_AND_ASSIGN(Mutex);
};
class MutexLock {
@@ -59,7 +60,7 @@ class MutexLock {
private:
Mutex* const mutex_;
- MOJO_DISALLOW_COPY_AND_ASSIGN(MutexLock);
+ DISALLOW_COPY_AND_ASSIGN(MutexLock);
};
// Catch bug where variable name is omitted (e.g., |MutexLock (&mu)|).
« no previous file with comments | « mojo/public/cpp/utility/lib/thread.cc ('k') | mojo/public/cpp/utility/run_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698