Added supported formats caching to VideoCaptureManager, and
adapted code to cideo_capture_types.{h,cc} reorganization.

Rewritten http://crrev.com/29423003 for the new structure of
video_capture_types.h: The device's capabilities are turned into
a vector of supported formats. No new code is added, the
previously reviewed one is adapted.

VideoCaptureCapability class is not used anymore, so removed (I
tried to make very evident every time I use VideoCaptureFormat
as a supported format).

VideoCaptureLinux and FakeVCD are also adapted, originally the
code for retrieving their caps comes from http://crrev.com/24079003

1 VCM unittest disabled for Mac Valgrind: Underlying FakeVCD
hits a SIGSEGV at the end of this test in Mac Valgrind bot,
see http://crbug.com/319955. Possibly associated to FakeVCD
races, re-enable this test after http://crbug.com/323893, 
ongoing http://crrev.com/91523002.


NOTE: Time ago a bug was filed against this code due to chrome OS
new user's take-a-picture would not show anything. I just verified
this seems to work now.

BUG=289494,309554

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240395 0039d316-1c4b-4281-b951-d872f2087c98
Use the Android Download Manager for data reduction proxy downloads.

Downloads from sites or via proxies that require HTTP authorization
are in general downloaded by the network stack because the ADM
can't authorize. This change makes an exception. If the download is
via the data reduction proxy and the download's site does not
require proxy authorization, then use the ADM.

BUG=326225

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240396 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 240396
[Android] Fix session_restore tests on occam svelte

The session restore tests are failing on occam svelte because it
doesn't have enough memory to load one of the background tabs. Fix
this by catching the timeout when trying to access the tab, and
ignoring the results for that tab.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240397 0039d316-1c4b-4281-b951-d872f2087c98
Pepper: Send dev/canary channel status to plugins.

As part of supporting "dev channel" methods in Pepper APIs, the plugin needs to
know whether or not it's running in a channel that supports those methods.

This patch plumbs that information through LoadPlugin so it's available by the
time get_interface<>() would ever be called.

TBR=piman
BUG=325403

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

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