Index: mojo/public/cpp/bindings/strong_binding.h |
diff --git a/mojo/public/cpp/bindings/strong_binding.h b/mojo/public/cpp/bindings/strong_binding.h |
index 3694c68082740332dbe310cec973183e430eec02..5c48eae08b195d28a7e171585f1e4ea04e74841f 100644 |
--- a/mojo/public/cpp/bindings/strong_binding.h |
+++ b/mojo/public/cpp/bindings/strong_binding.h |
@@ -8,6 +8,7 @@ |
#include <utility> |
#include "base/logging.h" |
+#include "base/macros.h" |
#include "mojo/public/cpp/bindings/binding.h" |
#include "mojo/public/cpp/bindings/callback.h" |
#include "mojo/public/cpp/bindings/interface_ptr.h" |
@@ -48,8 +49,6 @@ namespace mojo { |
// bound, it may be bound or destroyed on any thread. |
template <typename Interface> |
class StrongBinding { |
- MOVE_ONLY_TYPE_FOR_CPP_03(StrongBinding); |
- |
public: |
explicit StrongBinding(Interface* impl) : binding_(impl) {} |
@@ -113,6 +112,8 @@ class StrongBinding { |
private: |
Closure connection_error_handler_; |
Binding<Interface> binding_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(StrongBinding); |
}; |
} // namespace mojo |