Reason for revert: broke browser_tests Original issue's description: > Add EncodedImageCallback::OnEncodedImage(). > > OnEncodedImage() is going to replace Encoded(), which is deprecated now. > The new OnEncodedImage() returns Result struct that contains frame_id, > which tells the encoder RTP timestamp for the frame. > > BUG=chromium:621691 > R=niklas.enbom@webrtc.org, sprang@webrtc.org, stefan@webrtc.org > > Committed: https://crrev.com/4c7f4cd2ef76821edca6d773d733a924b0bedd25 > Committed: https://crrev.com/ad34dbe934d47f88011045671b4aea00dbd5a795 > Cr-Original-Commit-Position: refs/heads/master@{#13613} > Cr-Commit-Position: refs/heads/master@{#13615} TBR=pbos@webrtc.org,mflodman@webrtc.org,sprang@webrtc.org,stefan@webrtc.org,niklas.enbom@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:621691 Review-Url: https://codereview.webrtc.org/2203233002 Cr-Commit-Position: refs/heads/master@{#13616}