Cast: Fix threading issues in VideoEncoderImpl

VideoEncoderImpl can be used after delete. We assumed that main thread
out-live video encoder thread. This is not true for some use cases. For
example in the renderer when video encoder thread is shared by multiple
instances of CastSEnder. To fix this we need to separate Vp8Encoder and
VideoEncoderImpl.

VideoEncoderImpl will live on the main thread only. And Vp8Encoder will
live on the video encoder thread only.

Tested this change with vagrind and cast_unittests reports no error.

TBR=mikhal@chromium.org
BUG=336887

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246974

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247092 0039d316-1c4b-4281-b951-d872f2087c98
Set the maximum lines number to 32 for Javascript alert message on Mac port.

BUG=331219
R=jeremy@chromium.org
TEST=Manual test please: Launch chrome and load the popup-bug.html in BUG331219

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246457

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247093 0039d316-1c4b-4281-b951-d872f2087c98
[telemetry] Allow users to authenticate to Cloud Storage using prodaccess.

Change error message to use the prodaccess workflow instead of the more complex one, if prodaccess is available.

Also a minor fix to the logging output of GetIfChanged.


BUG=None.
TEST=tools/perf/run_benchmark smoothness.top_25

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

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