DescriptionFix remoting NM hosts to verify that incoming messages are dictionaries.
After crrev.com/295851 the PipeMessagingChannel verifies that incoming
messages are dictionaries and then passes them as base::Value to
OnMessage() and then OnMessage() implementation static_cast<> them to
base::DictionaryValue. This is fragile, and also it shouldn't be
PipeMessagingChannel's responsibility to verify format of the messages
it reads. Moved the check to OnMessage() implementations.
Committed: https://crrev.com/c827ad1c743fa8eb5d33f609f6a1e1a317af7c1a
Cr-Commit-Position: refs/heads/master@{#297274}
Patch Set 1 #
Messages
Total messages: 11 (2 generated)
|