| Index: mojo/public/cpp/bindings/message.h
|
| diff --git a/mojo/public/cpp/bindings/message.h b/mojo/public/cpp/bindings/message.h
|
| index d8eed2bfc3ec00a96948954a86ade3b99fdc088c..87a6f58a43314b07c0fbaebbbb2be6a5276f3b5e 100644
|
| --- a/mojo/public/cpp/bindings/message.h
|
| +++ b/mojo/public/cpp/bindings/message.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include <limits>
|
| #include <memory>
|
| +#include <string>
|
| #include <vector>
|
|
|
| #include "base/logging.h"
|
| @@ -99,6 +100,10 @@ class Message {
|
| // ownership of its internal storage and any attached handles.
|
| ScopedMessageHandle TakeMojoMessage();
|
|
|
| + // Notifies the system that this message is "bad," in this case meaning it was
|
| + // rejected by bindings validation code.
|
| + void NotifyBadMessage(const std::string& error);
|
| +
|
| private:
|
| void CloseHandles();
|
|
|
|
|