Enable HW video decode on android (only affects WebRTC).

This doesn't affect non-MediaStream-based <video> elements because 
Chromium/Android uses WebMediaPlayerAndroid, not WebMediaPlayerImpl, and thus 
always uses a system-provided media player (incl. decoder) instead of 
Chromium's media player.
The benefit here is also limited to Android versions that have MediaCodec, a.k.a. >= Jellybean.

Perf impact summary: no significant change to FPS or visible latency, overall 
CPU consumption is cut by over half(!).

Perf-testing setup:
- android device reverse-tethered to linux desktop
- linux sending 720p webcam video, no audio
- android sending 240p (minimize encode work), no audio, --use-fake-device-for-media-stream
- all cores on android online & at constant cpufreq
- measuring overall CPU utilization with: adb shell dumpsys cpuinfo|tail -1
This CL takes this device from 
65% TOTAL: 50% user + 13% kernel + 0.7% iowait + 0.1% softirq
to
31% TOTAL: 19% user + 10% kernel + 1.1% iowait + 0.1% softirq

Decoded FPS both before and after hover around 28fps, matching the sender.
I don't have detailed latency information but from visual inspection HW decode 
is smoother, with minor glitches that appear with SW decode gone once HW decode 
is enabled.

Devices with no actual HW support but with OS support (i.e. >=Jellybean, no VP8 hardware) end up using the SW decoder inside the OS (instead of the SW decoder inside webrtc).  An original Nexus7 running ToT android, for example, showed an overall CPU utilization drop of 81%->61% with this change.

BUG=305421

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228148 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 228148
drive: Add sanity check to ResourceMetadataStorage methods

To prevent unfilled ID properties from being undetected.

BUG=260514
TEST=unit_tests
R=kinaba@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228149 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 228149