Index: mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h |
diff --git a/mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h b/mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h |
index 3daf75d8a2707db9fc73af4757ed2dbd67db5058..d13676470f0ce9d960e24909c00b1b3473798b86 100644 |
--- a/mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h |
+++ b/mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h |
@@ -7,6 +7,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
+#include "base/move.h" |
#include "mojo/public/cpp/bindings/lib/interface_id.h" |
namespace mojo { |
@@ -18,6 +19,8 @@ |
// ScopedInterfaceEndpointHandle refers to one end of an interface, either the |
// implementation side or the client side. |
class ScopedInterfaceEndpointHandle { |
+ DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND(ScopedInterfaceEndpointHandle); |
+ |
public: |
// Creates an invalid endpoint handle. |
ScopedInterfaceEndpointHandle(); |
@@ -60,8 +63,6 @@ |
internal::InterfaceId id_; |
bool is_local_; |
scoped_refptr<internal::MultiplexRouter> router_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ScopedInterfaceEndpointHandle); |
}; |
} // namespace mojo |