Check the permission at the first time we query the camera, if the permission is...
commitc046ccfa02ef700a0f516b4e79c496e82a1aa8d0
authormichaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 7 May 2014 21:18:49 +0000 (7 21:18 +0000)
committermichaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 7 May 2014 21:18:49 +0000 (7 21:18 +0000)
tree7792854f66c4ca5fdb7be48e64cd50f9724da146
parente1a99891375075a5edcbe73857000c13b2437f4b
Check the permission at the first time we query the camera, if the permission is missing, no camera will returned.

BUG=369384

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268952 0039d316-1c4b-4281-b951-d872f2087c98
media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java
media/video/capture/android/video_capture_device_factory_android.cc