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

Unified Diff: mojo/public/cpp/system/handle.h

Issue 2038273002: Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: is_constructible Created 4 years, 6 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/bindings/wtf_array.h ('k') | net/base/file_stream_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/system/handle.h
diff --git a/mojo/public/cpp/system/handle.h b/mojo/public/cpp/system/handle.h
index f142e8bf02c845da0c401c72a7ff9c980dc86b07..5b2eb7bb1d8b61a34a651ba7a8521e620bd08762 100644
--- a/mojo/public/cpp/system/handle.h
+++ b/mojo/public/cpp/system/handle.h
@@ -11,7 +11,6 @@
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/macros.h"
-#include "base/move.h"
#include "mojo/public/c/system/functions.h"
#include "mojo/public/c/system/types.h"
@@ -72,8 +71,6 @@ namespace mojo {
// like the C++11 |unique_ptr|.
template <class HandleType>
class ScopedHandleBase {
- MOVE_ONLY_TYPE_FOR_CPP_03(ScopedHandleBase);
-
public:
using RawHandleType = HandleType;
@@ -134,6 +131,8 @@ class ScopedHandleBase {
}
HandleType handle_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScopedHandleBase);
};
template <typename HandleType>
« no previous file with comments | « mojo/public/cpp/bindings/wtf_array.h ('k') | net/base/file_stream_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698