* Fixed out-of-bounds crash bug in foreign_session_helper.cc.
* Now skips windows if all their tabs are empty.
* Now skips sessions if all their windows are empty.
* Method to query if foreign session are collapsed or expanded.
* Returns Java timestamps (previously returned Windows timestamps)

BUG=247382

Review URL: https://chromiumcodereview.appspot.com/23514039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224787 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 224787
Populate video capture facing mode for device enumeration.

This will help JS writer to display info about the camera.
This is enabled for Android only, since it makes sense for mobile device.

BUG=https://code.google.com/p/webrtc/issues/detail?id=2393
R=avi@chromium.org, palmer@chromium.org, tsepez@chromium.org, vrk@chromium.org

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

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