Index: mojo/public/cpp/bindings/message.h |
diff --git a/mojo/public/cpp/bindings/message.h b/mojo/public/cpp/bindings/message.h |
index f58b2e0ca0a2ce618f4f40e714bebf39a3c7aa11..9781a13ccac79d0e0d5897c45befddb2b992414d 100644 |
--- a/mojo/public/cpp/bindings/message.h |
+++ b/mojo/public/cpp/bindings/message.h |
@@ -122,6 +122,7 @@ class MessageReceiverWithResponder : public MessageReceiver { |
// |responder| and will delete it after calling |responder->Accept| or upon |
// its own destruction. |
// |
+ // TODO(yzshen): consider changing |responder| to scoped_ptr<MessageReceiver>. |
virtual bool AcceptWithResponder(Message* message, MessageReceiver* responder) |
MOJO_WARN_UNUSED_RESULT = 0; |
}; |
@@ -154,6 +155,7 @@ class MessageReceiverWithResponderStatus : public MessageReceiver { |
// |responder| and will delete it after calling |responder->Accept| or upon |
// its own destruction. |
// |
+ // TODO(yzshen): consider changing |responder| to scoped_ptr<MessageReceiver>. |
virtual bool AcceptWithResponder(Message* message, |
MessageReceiverWithStatus* responder) |
MOJO_WARN_UNUSED_RESULT = 0; |