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

Issue 388763003: Some cleanup in PipelineTest. (Closed)

Created:
6 years, 5 months ago by xhwang
Modified:
6 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Some cleanup in PipelineTest. Do not call Pipeline::On{Audio|Video}RendererEnded() because it's pipeline's implementation detail and will go away. Instead, let the mock renderers call the ended_cb. Also rename several helper functions to reflect what they really do. BUG=392259 TEST=All current tests pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282798

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -70 lines) Patch
M media/base/pipeline_unittest.cc View 1 27 chunks +74 lines, -70 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
xhwang
PTAL
6 years, 5 months ago (2014-07-11 08:11:46 UTC) #1
scherkus (not reviewing)
looks good -- just one thought https://codereview.chromium.org/388763003/diff/1/media/base/pipeline_unittest.cc File media/base/pipeline_unittest.cc (right): https://codereview.chromium.org/388763003/diff/1/media/base/pipeline_unittest.cc#newcode144 media/base/pipeline_unittest.cc:144: void ExpectToInitializeDemuxer(MockDemuxerStreamVector* streams, ...
6 years, 5 months ago (2014-07-11 19:22:52 UTC) #2
xhwang
comments addressed
6 years, 5 months ago (2014-07-11 20:35:41 UTC) #3
xhwang
Thanks for the suggestion. PTAL again! https://codereview.chromium.org/388763003/diff/1/media/base/pipeline_unittest.cc File media/base/pipeline_unittest.cc (right): https://codereview.chromium.org/388763003/diff/1/media/base/pipeline_unittest.cc#newcode144 media/base/pipeline_unittest.cc:144: void ExpectToInitializeDemuxer(MockDemuxerStreamVector* streams, ...
6 years, 5 months ago (2014-07-11 20:36:04 UTC) #4
scherkus (not reviewing)
lgtm
6 years, 5 months ago (2014-07-11 20:53:29 UTC) #5
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 5 months ago (2014-07-11 20:58:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/388763003/20001
6 years, 5 months ago (2014-07-11 21:01:51 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-12 04:50:15 UTC) #8
Message was sent while issue was closed.
Change committed as 282798

Powered by Google App Engine
This is Rietveld 408576698