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

Issue 2689863002: Change ownership of PipelineImpl (Closed)

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

Description

Change ownership of PipelineImpl WMPI owns an instance of PipelineImpl and passes its address to a PipelineController. WMPI calls method on both |pipeline_| and |pipeline_controller_|. This CL moves the ownership of PipelineImpl to the PipelineController, and exposes the rest of the Pipeline interface through the PipelineController. This will simplify reasoning about Pipeline callbacks and states changes by forcing all calls from WMPI to go through |pipeline_controller_|. bug= Review-Url: https://codereview.chromium.org/2689863002 Cr-Commit-Position: refs/heads/master@{#452764} Committed: https://chromium.googlesource.com/chromium/src/+/350936ff217789a657ef44417c374c6a0423f06f

Patch Set 1 #

Patch Set 2 : Removed virtual call from DTOR #

Patch Set 3 : rebase #

Patch Set 4 : Remove leftover test method #

Total comments: 4

Patch Set 5 : Addressed comment #

Patch Set 6 : Rebase #

Patch Set 7 : Proper rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -77 lines) Patch
M media/base/pipeline_impl.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 4 5 6 25 chunks +47 lines, -49 lines 0 comments Download
M media/filters/pipeline_controller.h View 1 2 3 4 5 6 6 chunks +26 lines, -7 lines 0 comments Download
M media/filters/pipeline_controller.cc View 1 2 3 4 5 6 3 chunks +68 lines, -3 lines 0 comments Download
M media/filters/pipeline_controller_unittest.cc View 1 10 chunks +16 lines, -15 lines 0 comments Download

Messages

Total messages: 36 (27 generated)
tguilbert
PTAL, thank you!
3 years, 10 months ago (2017-02-23 22:22:25 UTC) #16
sandersd (OOO until July 31)
lgtm % nits. https://codereview.chromium.org/2689863002/diff/60001/media/filters/pipeline_controller.cc File media/filters/pipeline_controller.cc (right): https://codereview.chromium.org/2689863002/diff/60001/media/filters/pipeline_controller.cc#newcode250 media/filters/pipeline_controller.cc:250: pipeline_->Stop(); Should we perhaps be resetting ...
3 years, 10 months ago (2017-02-23 23:11:47 UTC) #17
tguilbert
https://codereview.chromium.org/2689863002/diff/60001/media/filters/pipeline_controller.cc File media/filters/pipeline_controller.cc (right): https://codereview.chromium.org/2689863002/diff/60001/media/filters/pipeline_controller.cc#newcode250 media/filters/pipeline_controller.cc:250: pipeline_->Stop(); On 2017/02/23 23:11:46, sandersd wrote: > Should we ...
3 years, 10 months ago (2017-02-24 02:13:59 UTC) #20
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/2689863002/80001
3 years, 10 months ago (2017-02-24 02:14:51 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/159457) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 02:18:05 UTC) #25
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/2689863002/100001
3 years, 10 months ago (2017-02-24 03:22:55 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/217099)
3 years, 10 months ago (2017-02-24 03:34:47 UTC) #30
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/2689863002/120001
3 years, 10 months ago (2017-02-24 04:10:13 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 05:40:07 UTC) #36
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/350936ff217789a657ef44417c37...

Powered by Google App Engine
This is Rietveld 408576698