diff options
author | sergeyu <sergeyu@chromium.org> | 2014-09-29 14:30:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-29 21:32:29 +0000 |
commit | c827ad1c743fa8eb5d33f609f6a1e1a317af7c1a (patch) | |
tree | db03418be523dd355e708fc43628a8348511340d /remoting/host/branding.h | |
parent | b3558eef5f128ea7d042531054b2740dc1bb173b (diff) | |
download | chromium_src-c827ad1c743fa8eb5d33f609f6a1e1a317af7c1a.zip chromium_src-c827ad1c743fa8eb5d33f609f6a1e1a317af7c1a.tar.gz chromium_src-c827ad1c743fa8eb5d33f609f6a1e1a317af7c1a.tar.bz2 |
Fix 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.
Review URL: https://codereview.chromium.org/615543004
Cr-Commit-Position: refs/heads/master@{#297274}
Diffstat (limited to 'remoting/host/branding.h')
0 files changed, 0 insertions, 0 deletions