Features:
- Add support in API for sourceId, destinationId.
- Add support for sending and receiving binary messages (required for auth)
Fixes/refactorings:
- Refactor APIs to be generic on message type to avoid code duplicaton.
- Factor out conversion code between MessageInfo API object and CastMessage
proto to share between impl and unit tests.
BUG=295843
Review URL: https://codereview.chromium.org/
26878002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228335 0039d316-1c4b-4281-b951-d872f2087c98