[Video] Set the max keyframe distance for background optimization via FieldTrials.

Get a field trial variations param as the time in milliseconds. Pass it from
RenderViewHostImpl in the browser process to the renderer's RenderFrameImpl via
WebPreferences. Set the value in WebMediaPlayerParams when WebMediaPlayerImpl is
created.

BUG=663999
TEST=manually with chrome --enable-features="BackgroundVideoTrackOptimization<Study" --force-fieldtrials=Study/Group1 --force-fieldtrial-params=Study.Group1:max_keyframe_distance_ms/1000

Review-Url: https://codereview.chromium.org/2628313002
Cr-Commit-Position: refs/heads/master@{#444946}
10 files changed