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

Unified Diff: mojo/public/cpp/bindings/interface_ptr_info.h

Issue 2047633002: Revert of Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/interface_ptr.h ('k') | mojo/public/cpp/bindings/interface_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/interface_ptr_info.h
diff --git a/mojo/public/cpp/bindings/interface_ptr_info.h b/mojo/public/cpp/bindings/interface_ptr_info.h
index 0b2d8089c4327f7bf608c152980d882dc0626a6b..014410df1339605bcd4e15cd25e2847ade54e8ff 100644
--- a/mojo/public/cpp/bindings/interface_ptr_info.h
+++ b/mojo/public/cpp/bindings/interface_ptr_info.h
@@ -8,7 +8,7 @@
#include <stdint.h>
#include <utility>
-#include "base/macros.h"
+#include "base/move.h"
#include "mojo/public/cpp/system/message_pipe.h"
namespace mojo {
@@ -17,6 +17,8 @@
// interface implementation, which could be used to construct an InterfacePtr.
template <typename Interface>
class InterfacePtrInfo {
+ MOVE_ONLY_TYPE_FOR_CPP_03(InterfacePtrInfo);
+
public:
InterfacePtrInfo() : version_(0u) {}
@@ -54,8 +56,6 @@
private:
ScopedMessagePipeHandle handle_;
uint32_t version_;
-
- DISALLOW_COPY_AND_ASSIGN(InterfacePtrInfo);
};
} // namespace mojo
« no previous file with comments | « mojo/public/cpp/bindings/interface_ptr.h ('k') | mojo/public/cpp/bindings/interface_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698