| 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 12e8bf0a931ed8efe9f63c27d1ba2ac7054f54ce..689a7fa5a9d62381f5f308c922e5522a9709898e 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/macros.h"
|
| +#include "base/move.h"
|
| #include "mojo/public/cpp/bindings/message.h"
|
| #include "mojo/public/cpp/bindings/message_filter.h"
|
|
|
| @@ -15,6 +15,8 @@
|
| 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.
|
| @@ -39,12 +41,9 @@
|
|
|
| private:
|
| // Owned by this object.
|
| - // TODO(dcheng): Use unique_ptr.
|
| std::vector<MessageFilter*> filters_;
|
|
|
| MessageReceiver* sink_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(FilterChain);
|
| };
|
|
|
| template <typename FilterType>
|
|
|