Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Issue 2669033004: Media Remoting: Don't report remote renderer init error to pipeline. (Closed)

Created:
3 years, 10 months ago by xjz
Modified:
3 years, 10 months ago
Reviewers:
miu
CC:
chromium-reviews, feature-media-reviews_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org, apacible+watch_chromium.org, erickung+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Remoting: Don't report remote renderer init error to pipeline. When error occurs during initializing the remote renderer, CourierRenderer should not report the failure to media pipeline. Instead, it should always report success to the media pipeline, and then become a no-op renderer after that point. The remoting session will soon end, and a normal local renderer will be created instead. BUG=687750 Review-Url: https://codereview.chromium.org/2669033004 Cr-Commit-Position: refs/heads/master@{#447911} Committed: https://chromium.googlesource.com/chromium/src/+/fa3876bfc4b420d126b2a52f653b3bbb13944de5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add unittests. #

Total comments: 3

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -13 lines) Patch
M media/remoting/courier_renderer.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M media/remoting/courier_renderer_unittest.cc View 1 2 5 chunks +39 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
xjz
PTAL
3 years, 10 months ago (2017-02-02 01:42:46 UTC) #5
miu
I think it'd be good to have a quick unit test to confirm this, so ...
3 years, 10 months ago (2017-02-02 20:50:16 UTC) #8
xjz
Addressed comments. PTAL. Thanks! https://codereview.chromium.org/2669033004/diff/20001/media/remoting/courier_renderer.cc File media/remoting/courier_renderer.cc (right): https://codereview.chromium.org/2669033004/diff/20001/media/remoting/courier_renderer.cc#newcode322 media/remoting/courier_renderer.cc:322: DCHECK(!init_workflow_done_callback_.is_null()); On 2017/02/02 20:50:16, miu ...
3 years, 10 months ago (2017-02-02 22:07:11 UTC) #10
miu
lgtm https://codereview.chromium.org/2669033004/diff/40001/media/remoting/courier_renderer_unittest.cc File media/remoting/courier_renderer_unittest.cc (right): https://codereview.chromium.org/2669033004/diff/40001/media/remoting/courier_renderer_unittest.cc#newcode351 media/remoting/courier_renderer_unittest.cc:351: // Indicates whether the renderer on receiver side ...
3 years, 10 months ago (2017-02-02 22:37:58 UTC) #12
xjz
Addressed comments. Thanks! https://codereview.chromium.org/2669033004/diff/40001/media/remoting/courier_renderer_unittest.cc File media/remoting/courier_renderer_unittest.cc (right): https://codereview.chromium.org/2669033004/diff/40001/media/remoting/courier_renderer_unittest.cc#newcode351 media/remoting/courier_renderer_unittest.cc:351: // Indicates whether the renderer on ...
3 years, 10 months ago (2017-02-02 23:03:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2669033004/60001
3 years, 10 months ago (2017-02-02 23:05:24 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 03:45:41 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/fa3876bfc4b420d126b2a52f653b...

Powered by Google App Engine
This is Rietveld 408576698