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 5c48eae08b195d28a7e171585f1e4ea04e74841f..3694c68082740332dbe310cec973183e430eec02 100644 |
--- a/mojo/public/cpp/bindings/strong_binding.h |
+++ b/mojo/public/cpp/bindings/strong_binding.h |
@@ -8,7 +8,6 @@ |
#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" |
@@ -49,6 +48,8 @@ |
// 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) {} |
@@ -112,8 +113,6 @@ |
private: |
Closure connection_error_handler_; |
Binding<Interface> binding_; |
- |
- DISALLOW_COPY_AND_ASSIGN(StrongBinding); |
}; |
} // namespace mojo |