Cast: Clarify what is a valid resource ID
commit47ed74585b6c76d92f804b3f2cb7a26804469a13
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 8 Apr 2014 20:57:49 +0000 (8 20:57 +0000)
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 8 Apr 2014 20:57:49 +0000 (8 20:57 +0000)
treecc2ab2bc8bd7a12527f16114a3f8553333714b80
parent35d829e57ba28c5b732b05328e9a2371d200c372
Cast: Clarify what is a valid resource ID

This change claries that all cast.streaming resources have positive
IDs. This is used to avoid problems when an extension treat zero as an
invalid value.

Also adds a few more VLOGs for debugging.

BUG=360902

Review URL: https://codereview.chromium.org/225303018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262502 0039d316-1c4b-4281-b951-d872f2087c98
chrome/common/extensions/api/cast_streaming_rtp_stream.idl
chrome/common/extensions/api/cast_streaming_session.idl
chrome/common/extensions/api/cast_streaming_udp_transport.idl
chrome/renderer/extensions/cast_streaming_native_handler.cc
chrome/renderer/media/cast_rtp_stream.cc
chrome/renderer/media/cast_udp_transport.cc
chrome/test/data/extensions/api_test/cast_streaming/basics.js
media/cast/cast_sender_impl.cc