Index: mojo/public/cpp/bindings/interface_request.h |
diff --git a/mojo/public/cpp/bindings/interface_request.h b/mojo/public/cpp/bindings/interface_request.h |
index 26e7b53cdc1e514ec49c47bab4bb356db39e44a8..fc23aec3ee73be187dabf450972a4a8906cf3626 100644 |
--- a/mojo/public/cpp/bindings/interface_request.h |
+++ b/mojo/public/cpp/bindings/interface_request.h |
@@ -7,6 +7,7 @@ |
#include <utility> |
+#include "base/macros.h" |
#include "base/single_thread_task_runner.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "mojo/public/cpp/bindings/interface_ptr.h" |
@@ -21,7 +22,6 @@ namespace mojo { |
// if the client did not provide a message pipe. |
template <typename Interface> |
class InterfaceRequest { |
- MOVE_ONLY_TYPE_FOR_CPP_03(InterfaceRequest); |
public: |
// Constructs an empty InterfaceRequest, representing that the client is not |
// requesting an implementation of Interface. |
@@ -66,6 +66,8 @@ class InterfaceRequest { |
private: |
ScopedMessagePipeHandle handle_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(InterfaceRequest); |
}; |
// Makes an InterfaceRequest bound to the specified message pipe. If |handle| |