Index: mojo/public/cpp/bindings/lib/filter_chain.h |
diff --git a/mojo/public/cpp/bindings/lib/filter_chain.h b/mojo/public/cpp/bindings/lib/filter_chain.h |
index 689a7fa5a9d62381f5f308c922e5522a9709898e..12e8bf0a931ed8efe9f63c27d1ba2ac7054f54ce 100644 |
--- a/mojo/public/cpp/bindings/lib/filter_chain.h |
+++ b/mojo/public/cpp/bindings/lib/filter_chain.h |
@@ -7,7 +7,7 @@ |
#include <vector> |
-#include "base/move.h" |
+#include "base/macros.h" |
#include "mojo/public/cpp/bindings/message.h" |
#include "mojo/public/cpp/bindings/message_filter.h" |
@@ -15,8 +15,6 @@ namespace mojo { |
namespace internal { |
class FilterChain { |
- MOVE_ONLY_TYPE_FOR_CPP_03(FilterChain) |
- |
public: |
// Doesn't take ownership of |sink|. Therefore |sink| has to stay alive while |
// this object is alive. |
@@ -41,9 +39,12 @@ class FilterChain { |
private: |
// Owned by this object. |
+ // TODO(dcheng): Use unique_ptr. |
std::vector<MessageFilter*> filters_; |
MessageReceiver* sink_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(FilterChain); |
}; |
template <typename FilterType> |