Sets the media element network state to idle until playback is requested.

This is the expected behavior if the user agent intends to not attempt to fetch
the resource until the user requests it explicitly.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226440 0039d316-1c4b-4281-b951-d872f2087c98
Will now DCHECK that test writers start the embedded server before using it.

One developer on my team was writing a browser test, but the test would just
hang. Turns out he forgot to start the embedded test server.

I think we can make the failure a lot clearer by adding a DCHECK which will
clearly point out the problem. I know that GetURL doesn't mean the test makes
a request to the server as such, but the returned URL will almost always be
fed into a NavigateToUrl request, so checking for this here will probably
be helpful in almost all cases.

R=phajdan.jr@chromium.org
BUG=301625

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226441 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226440
[Android WebView] Use CUTOFF_ALLOW_NICE_TO_HAVE

NICE_TO_HAVE will pre-render the soon-bin, which is based on both
velocity and distance. Previously, EVERYTHING will also pre-render the
eventually bin. NICE_TO_HAVE is a better fit for the Android WebView
memory management model where we assume a webview will not go berserk
with memory.

Note that this can still fill up on fling.

BUG=
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226442 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226442
Always tear down the OSX app list signin view, when the signin status changes.

This improves a fix in r218251, after which the signinDelegate on the
signin view would not be replaced when the model changes, but when
both models were signed out.

BUG=297437
TEST=Have the OSX App Launcher enabled and a single, signed out profile.
Delete the profile from chrome://settings, then click sign in on the app
launcher. Chrome should not crash.

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

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