Chromium Code Reviews| Index: mojo/public/cpp/bindings/lib/validation_util.h |
| diff --git a/mojo/public/cpp/bindings/lib/validation_util.h b/mojo/public/cpp/bindings/lib/validation_util.h |
| index 1b80a5b19fa8987470b25e64596df630f28f1200..7b9ccb71a5d4b0f18b311b6ed3b93fc5ad0aae3f 100644 |
| --- a/mojo/public/cpp/bindings/lib/validation_util.h |
| +++ b/mojo/public/cpp/bindings/lib/validation_util.h |
| @@ -27,6 +27,10 @@ bool ValidateEncodedPointer(const uint64_t* offset); |
| bool ValidateStructHeaderAndClaimMemory(const void* data, |
| BoundsChecker* bounds_checker); |
| +// TODO(vardhan): Move the following |Message| related functions (mostly just |
|
viettrungluu
2015/10/19 19:37:54
Could you do that first?
vardhan
2015/10/19 23:18:31
Done.
|
| +// the templated ones) out of here so this header does not need to depend on |
| +// message.h. |
| + |
| // Validates that the message is a request which doesn't expect a response. |
| bool ValidateMessageIsRequestWithoutResponse(const Message* message); |
| // Validates that the message is a request expecting a response. |