Make sure the scheduler is READY_TO_COMMIT

Adds a DCHECK() to make sure that commit_state_ is what we expect
in the scheduler state machine.

Ran compositor performance and unit tests in debug on Android, visited
some stress-test sites in debug on Linux to make sure it's not getting
commonly hit.

BUG=308006
R=brianderson@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229043 0039d316-1c4b-4281-b951-d872f2087c98
Add an API to get whether an interface (e.g. Wi-Fi) is enabled and to enable it

BUG=253658
R=mpcomplete@chromium.org

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

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