DevTools: support binary protocol framing

BUG=929862

This adds an optional parameter to --remote-debugging-pipe that lets
caller specify cbor to use CBOR-compatible binary, as opposed to 0-terminated, framing for
passing DevTools messages over the pipe.

Change-Id: Iedadb66d14bb5e7a2c3cea855d4ff4bf4f5b88be
Reviewed-on: https://chromium-review.googlesource.com/c/1460182
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: Johannes Henkel <johannes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#631006}
3 files changed