Reduce dependence on OAuth2 token scopes for sync tests.

Add a new method that accepts all tokens and remove the hardcoding of
OAuth2 scopes. Hardcoding the scopes makes it difficult to diagonose the
failure of tests when new OAuth2 scopes are introduced.

BUG=336370
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253053 0039d316-1c4b-4281-b951-d872f2087c98
Don't delete MediaStreamSource on MediaStreamTrack::Stop.
Instead the ownership model is trusted. Ie, the chrome source object is deleted when the blink::WebMediaStreamSource object is deleted.
This is needed in order for the MediaStreamTracks do not have to care about when a source is stopped.

BUG=346142, 323223

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253054 0039d316-1c4b-4281-b951-d872f2087c98
Update histogram values ENUM_BOUNDARY comment.

The new comment tells the committer to update histogram.xml when adding a new
value. The PRESUBMIT and its tests also need to be updated as the enum end
marker is changed.

TEST=updated PRESUBMIT tests
R=asargent@chromium.org, asvitkine@chromium.org

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

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

It's now run_gpu_test.py in the same directory. This script is unreferenced.

BUG=321878
R=zmo@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253057 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 253057
Fixit: Move tab and desktop capture code to new location.

The purpose of this change is to remove a layering violation: Code in content/browser/renderer_host should not depend on content/browser/web_contents.  As a secondary benefit, the code modules have been consolidated into a more-appropriate location, with cleaner DEPS/OWNERS files.

There are NO CODE CHANGES being made here, other than include's and ifdef guards in .h files.

BUG=178495
R=fbarchard@chromium.org, jam@chromium.org, scherkus@chromium.org

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

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