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

Issue 1257013003: Load CMA backend from shared library (Closed)

Created:
5 years, 5 months ago by halliwell
Modified:
5 years, 4 months ago
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, feature-media-reviews_chromium.org, lcwu1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Load CMA backend from shared library * CMA backend interfaces moved into chromecast/public/media * CMA backend implementation loaded from libcast_media through CastMediaShlib * Backend API changes to remove dependency on Chromium types: * DecryptContext replaced with CastKeySystem * scoped_refptr replaced with raw pointers * In particular, DecoderBufferBase replaced in the backend API with non-refcounted DecoderBuffer. In order to allow us to keep using refcounting and in particular use DecoderBufferBase in the rest of our pipeline, it gets wrapped in a DecoderBufferImpl (implementation of DecoderBuffer) for passing to the backend. So backends must delete the buffer pointer they're given but this is actually just decrementing the refcount on the underlying buffer. * base::Callback replaced with abstract interfaces * base::TimeDelta replaced with chromecast::TimeDelta in backend interface, essentially a stripped-down copy * NonThreadSafe removed (implementations can use ThreadChecker) * TaskRunner interface provides PostTask/PostDelayedTask service to backend implementations * Backend ownership / factory model changed. Now, backend implementations return a MediaPipelineBackend which manages ownership and hookup of all the components. It returns access to them as raw pointers. The pipeline manages the lifetime of the MediaPipelineBackend instance. * GetIsCodecSupportedOnChromecast refactored to remove calls back into cast_shell from backends (implementation can just return 'default' to indicate default logic should apply, including HDMI capabilities. BUG=508534 Committed: https://crrev.com/dad541d95f2df33f23d52dce79151291918a7a67 Cr-Commit-Position: refs/heads/master@{#342370}

Patch Set 1 #

Patch Set 2 : Unit test + android fixes #

Total comments: 109

Patch Set 3 : Response to review comments #

Patch Set 4 : Another round of review feedback #

Total comments: 14

Patch Set 5 : Commenting public APIs reverted VideoClient ownership #

Total comments: 21

Patch Set 6 : A few nits. #

Total comments: 2

Patch Set 7 : Removed BelongsToCurrentThread, added naming TODO, + comment nit #

Total comments: 10

Patch Set 8 : Tweaks to PostTask #

Total comments: 2

Patch Set 9 : Rebase #

Patch Set 10 : DCHECK on posted task #

Total comments: 10

Patch Set 11 : A few nits #

Patch Set 12 : Removed default add of public/ to include dirs, + added getter to TaskRunnerImpl for internal usage #

Patch Set 13 : Rebase #

Patch Set 14 : Fix test build error #

Patch Set 15 : Returned to DecryptContext as some implementations need this still #

Patch Set 16 : Unit test fix #

Patch Set 17 : Rebase #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+1724 lines, -1427 lines) Patch
M chromecast/base/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
A chromecast/base/task_runner_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +39 lines, -0 lines 1 comment Download
A chromecast/base/task_runner_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +36 lines, -0 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.cc View 3 chunks +8 lines, -10 lines 0 comments Download
M chromecast/browser/media/cma_message_filter_host.h View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M chromecast/browser/media/cma_message_filter_host.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chromecast/browser/media/media_pipeline_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +12 lines, -6 lines 0 comments Download
M chromecast/browser/media/media_pipeline_host.cc View 1 2 3 4 5 2 chunks +14 lines, -7 lines 0 comments Download
M chromecast/chromecast.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +21 lines, -1 line 0 comments Download
M chromecast/media/base/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M chromecast/media/base/cast_media_default.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M chromecast/media/base/decrypt_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -46 lines 0 comments Download
D chromecast/media/base/decrypt_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -22 lines 0 comments Download
D chromecast/media/base/decrypt_context_clearkey.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -33 lines 0 comments Download
D chromecast/media/base/decrypt_context_clearkey.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -27 lines 0 comments Download
A + chromecast/media/base/decrypt_context_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +12 lines, -11 lines 0 comments Download
A chromecast/media/base/decrypt_context_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +29 lines, -0 lines 0 comments Download
A + chromecast/media/base/decrypt_context_impl_clearkey.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -9 lines 0 comments Download
A + chromecast/media/base/decrypt_context_impl_clearkey.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -7 lines 0 comments Download
M chromecast/media/base/key_systems_common.h View 2 chunks +1 line, -7 lines 0 comments Download
M chromecast/media/base/media_codec_support.h View 1 2 3 4 1 chunk +2 lines, -8 lines 0 comments Download
M chromecast/media/base/media_codec_support.cc View 1 2 3 4 1 chunk +32 lines, -4 lines 0 comments Download
D chromecast/media/base/media_codec_support_simple.cc View 1 chunk +0 lines, -21 lines 0 comments Download
M chromecast/media/cdm/browser_cdm_cast.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M chromecast/media/cma/backend/BUILD.gn View 1 2 3 1 chunk +2 lines, -16 lines 0 comments Download
D chromecast/media/cma/backend/audio_pipeline_device.h View 1 chunk +0 lines, -38 lines 0 comments Download
D chromecast/media/cma/backend/audio_pipeline_device.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M chromecast/media/cma/backend/audio_pipeline_device_default.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +13 lines, -10 lines 0 comments Download
M chromecast/media/cma/backend/audio_pipeline_device_default.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +13 lines, -15 lines 0 comments Download
M chromecast/media/cma/backend/audio_video_pipeline_device_unittest.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +22 lines, -22 lines 0 comments Download
D chromecast/media/cma/backend/media_clock_device.h View 1 chunk +0 lines, -82 lines 0 comments Download
D chromecast/media/cma/backend/media_clock_device.cc View 1 chunk +0 lines, -55 lines 0 comments Download
M chromecast/media/cma/backend/media_clock_device_default.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -3 lines 0 comments Download
M chromecast/media/cma/backend/media_clock_device_default.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +44 lines, -16 lines 0 comments Download
D chromecast/media/cma/backend/media_component_device.h View 1 chunk +0 lines, -140 lines 0 comments Download
D chromecast/media/cma/backend/media_component_device.cc View 1 chunk +0 lines, -67 lines 0 comments Download
M chromecast/media/cma/backend/media_component_device_default.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +21 lines, -14 lines 0 comments Download
M chromecast/media/cma/backend/media_component_device_default.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +98 lines, -46 lines 0 comments Download
A chromecast/media/cma/backend/media_pipeline_backend_default.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A chromecast/media/cma/backend/media_pipeline_backend_default.cc View 1 1 chunk +39 lines, -0 lines 0 comments Download
D chromecast/media/cma/backend/media_pipeline_device.h View 1 chunk +0 lines, -59 lines 0 comments Download
D chromecast/media/cma/backend/media_pipeline_device.cc View 1 chunk +0 lines, -35 lines 0 comments Download
D chromecast/media/cma/backend/media_pipeline_device_factory.h View 1 chunk +0 lines, -41 lines 0 comments Download
D chromecast/media/cma/backend/media_pipeline_device_factory_default.h View 1 chunk +0 lines, -36 lines 0 comments Download
D chromecast/media/cma/backend/media_pipeline_device_factory_default.cc View 1 chunk +0 lines, -38 lines 0 comments Download
D chromecast/media/cma/backend/media_pipeline_device_factory_simple.cc View 1 chunk +0 lines, -17 lines 0 comments Download
D chromecast/media/cma/backend/media_pipeline_device_params.h View 1 chunk +0 lines, -39 lines 0 comments Download
D chromecast/media/cma/backend/media_pipeline_device_params.cc View 1 chunk +0 lines, -18 lines 0 comments Download
D chromecast/media/cma/backend/video_pipeline_device.h View 1 chunk +0 lines, -60 lines 0 comments Download
D chromecast/media/cma/backend/video_pipeline_device.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M chromecast/media/cma/backend/video_pipeline_device_default.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +14 lines, -12 lines 0 comments Download
M chromecast/media/cma/backend/video_pipeline_device_default.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +14 lines, -15 lines 0 comments Download
M chromecast/media/cma/base/BUILD.gn View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chromecast/media/cma/base/buffering_frame_provider_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chromecast/media/cma/base/cast_decoder_buffer_impl.h View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/cast_decoder_buffer_impl.cc View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/cast_decrypt_config_impl.h View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A chromecast/media/cma/base/cast_decrypt_config_impl.cc View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
M chromecast/media/cma/base/decoder_buffer_adapter.h View 1 2 3 3 chunks +4 lines, -2 lines 2 comments Download
M chromecast/media/cma/base/decoder_buffer_adapter.cc View 1 2 3 3 chunks +10 lines, -3 lines 0 comments Download
M chromecast/media/cma/base/decoder_buffer_base.h View 1 2 3 5 chunks +5 lines, -8 lines 0 comments Download
D chromecast/media/cma/base/decoder_buffer_base.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M chromecast/media/cma/filters/demuxer_stream_adapter_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chromecast/media/cma/filters/multi_demuxer_stream_adapter_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/media/cma/ipc_streamer/av_streamer_unittest.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc View 1 2 3 8 chunks +12 lines, -11 lines 0 comments Download
M chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.cc View 1 2 3 5 chunks +9 lines, -11 lines 0 comments Download
M chromecast/media/cma/pipeline/BUILD.gn View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chromecast/media/cma/pipeline/audio_pipeline_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromecast/media/cma/pipeline/audio_video_pipeline_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +23 lines, -26 lines 0 comments Download
M chromecast/media/cma/pipeline/av_pipeline_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromecast/media/cma/pipeline/av_pipeline_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +21 lines, -20 lines 0 comments Download
M chromecast/media/cma/pipeline/decrypt_util.cc View 1 2 3 6 chunks +7 lines, -8 lines 0 comments Download
A chromecast/media/cma/pipeline/frame_status_cb_impl.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A chromecast/media/cma/pipeline/frame_status_cb_impl.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A chromecast/media/cma/pipeline/media_component_device_client_impl.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A chromecast/media/cma/pipeline/media_component_device_client_impl.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M chromecast/media/cma/pipeline/media_pipeline_impl.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chromecast/media/cma/pipeline/media_pipeline_impl.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +18 lines, -16 lines 0 comments Download
A chromecast/media/cma/pipeline/video_pipeline_device_client_impl.h View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A chromecast/media/cma/pipeline/video_pipeline_device_client_impl.cc View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M chromecast/media/cma/pipeline/video_pipeline_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +6 lines, -5 lines 0 comments Download
M chromecast/media/cma/pipeline/video_pipeline_impl.cc View 1 2 3 4 3 chunks +10 lines, -8 lines 0 comments Download
M chromecast/media/cma/test/cma_end_to_end_test.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +8 lines, -7 lines 0 comments Download
M chromecast/media/cma/test/media_component_device_feeder_for_test.h View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M chromecast/media/cma/test/media_component_device_feeder_for_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +17 lines, -17 lines 0 comments Download
M chromecast/media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 9 chunks +26 lines, -39 lines 0 comments Download
M chromecast/public/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chromecast/public/cast_media_shlib.h View 1 2 2 chunks +8 lines, -0 lines 2 comments Download
A chromecast/public/media/BUILD.gn View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A + chromecast/public/media/audio_pipeline_device.h View 1 2 3 4 1 chunk +9 lines, -12 lines 0 comments Download
A chromecast/public/media/cast_decoder_buffer.h View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A chromecast/public/media/cast_decrypt_config.h View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
A chromecast/public/media/cast_key_system.h View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
M chromecast/public/media/decoder_config.h View 1 chunk +1 line, -1 line 0 comments Download
A chromecast/public/media/decrypt_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +34 lines, -0 lines 0 comments Download
A chromecast/public/media/media_clock_device.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +63 lines, -0 lines 0 comments Download
A chromecast/public/media/media_component_device.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +142 lines, -0 lines 2 comments Download
A chromecast/public/media/media_pipeline_backend.h View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
A + chromecast/public/media/media_pipeline_device_params.h View 1 2 3 4 5 2 chunks +18 lines, -8 lines 0 comments Download
A + chromecast/public/media/video_pipeline_device.h View 1 2 3 4 2 chunks +17 lines, -27 lines 0 comments Download
A chromecast/public/media_codec_support_shlib.h View 1 2 3 4 1 chunk +39 lines, -0 lines 0 comments Download
A chromecast/public/task_runner.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 79 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257013003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257013003/1
5 years, 5 months ago (2015-07-27 06:20:19 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_android/builds/34550)
5 years, 5 months ago (2015-07-27 06:40:28 UTC) #4
halliwell
This is a big one ... if you don't have time for everything, servolk@ please ...
5 years, 4 months ago (2015-07-27 15:26:45 UTC) #6
gunsch
Reviewed the whole CL. Overall LG, as it's actually pretty mechanical. High-level comments: * I'd ...
5 years, 4 months ago (2015-07-27 17:14:50 UTC) #7
byungchul
https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc#newcode16 chromecast/base/task_runner_impl.cc:16: : runner_(base::ThreadTaskRunnerHandle::Get()) {} DCHECK(runner_.get()); https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc#newcode18 chromecast/base/task_runner_impl.cc:18: TaskRunnerImpl::~TaskRunnerImpl() {} wrap ...
5 years, 4 months ago (2015-07-27 18:22:23 UTC) #8
servolk
High level nit: it's probably too late for that, but it would've been much easier ...
5 years, 4 months ago (2015-07-27 21:25:47 UTC) #9
halliwell
Most comments addressed in patchset 3. Sergey - would have loved to split this into ...
5 years, 4 months ago (2015-07-28 02:19:36 UTC) #10
byungchul
https://codereview.chromium.org/1257013003/diff/20001/chromecast/public/media/decoder_buffer.h File chromecast/public/media/decoder_buffer.h (right): https://codereview.chromium.org/1257013003/diff/20001/chromecast/public/media/decoder_buffer.h#newcode36 chromecast/public/media/decoder_buffer.h:36: virtual void set_timestamp(TimeDelta timestamp) = 0; On 2015/07/28 02:19:35, ...
5 years, 4 months ago (2015-07-28 18:05:44 UTC) #11
servolk
https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc#newcode25 chromecast/base/task_runner_impl.cc:25: return runner_->PostTask(FROM_HERE, On 2015/07/28 02:19:35, halliwell wrote: > On ...
5 years, 4 months ago (2015-07-28 18:12:55 UTC) #12
halliwell
Patchset 4 addresses all remaining comments, afaik, except for question of VideoClient ownership. Also updated ...
5 years, 4 months ago (2015-07-28 23:26:06 UTC) #13
servolk
https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc#newcode25 chromecast/base/task_runner_impl.cc:25: return runner_->PostTask(FROM_HERE, On 2015/07/28 23:26:05, halliwell wrote: > On ...
5 years, 4 months ago (2015-07-29 01:46:26 UTC) #14
halliwell
https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1257013003/diff/20001/chromecast/base/task_runner_impl.cc#newcode25 chromecast/base/task_runner_impl.cc:25: return runner_->PostTask(FROM_HERE, On 2015/07/29 01:46:26, servolk wrote: > On ...
5 years, 4 months ago (2015-07-29 01:55:54 UTC) #15
gunsch
Focused on nit-picking the public API this round. https://codereview.chromium.org/1257013003/diff/20001/chromecast/media/base/media_codec_support.cc File chromecast/media/base/media_codec_support.cc (right): https://codereview.chromium.org/1257013003/diff/20001/chromecast/media/base/media_codec_support.cc#newcode12 chromecast/media/base/media_codec_support.cc:12: // ...
5 years, 4 months ago (2015-07-29 17:04:20 UTC) #16
halliwell
https://codereview.chromium.org/1257013003/diff/20001/chromecast/media/base/media_codec_support.cc File chromecast/media/base/media_codec_support.cc (right): https://codereview.chromium.org/1257013003/diff/20001/chromecast/media/base/media_codec_support.cc#newcode12 chromecast/media/base/media_codec_support.cc:12: // TODO(gunsch/servolk): delete this definition once a solution exists ...
5 years, 4 months ago (2015-07-29 19:58:20 UTC) #17
gunsch-google
LGTM, thanks for the extra iterating on the public API docs.
5 years, 4 months ago (2015-07-29 20:06:54 UTC) #19
byungchul
https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h File chromecast/public/media/cast_decoder_buffer.h (right): https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h#newcode26 chromecast/public/media/cast_decoder_buffer.h:26: virtual ~CastDecoderBuffer() {} If it won't be destroyed by ...
5 years, 4 months ago (2015-07-29 20:32:23 UTC) #20
byungchul
https://codereview.chromium.org/1257013003/diff/80001/chromecast/base/task_runner_impl.h File chromecast/base/task_runner_impl.h (right): https://codereview.chromium.org/1257013003/diff/80001/chromecast/base/task_runner_impl.h#newcode29 chromecast/base/task_runner_impl.h:29: scoped_refptr<base::SingleThreadTaskRunner> runner_; const
5 years, 4 months ago (2015-07-29 20:34:09 UTC) #21
gunsch-google
https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h File chromecast/public/media/cast_decoder_buffer.h (right): https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h#newcode26 chromecast/public/media/cast_decoder_buffer.h:26: virtual ~CastDecoderBuffer() {} On 2015/07/29 20:32:23, byungchul wrote: > ...
5 years, 4 months ago (2015-07-29 20:48:26 UTC) #22
gunsch
Oops, just noticed I was reviewing from the wrong account. lgtm from this one :)
5 years, 4 months ago (2015-07-29 20:48:49 UTC) #23
halliwell
https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h File chromecast/public/media/cast_decoder_buffer.h (right): https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h#newcode26 chromecast/public/media/cast_decoder_buffer.h:26: virtual ~CastDecoderBuffer() {} On 2015/07/29 20:48:26, gunsch-google wrote: > ...
5 years, 4 months ago (2015-07-29 22:39:27 UTC) #25
byungchul
https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h File chromecast/public/media/cast_decoder_buffer.h (right): https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h#newcode29 chromecast/public/media/cast_decoder_buffer.h:29: virtual StreamId stream_id() const = 0; On 2015/07/29 22:39:27, ...
5 years, 4 months ago (2015-07-29 23:12:30 UTC) #26
halliwell
https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h File chromecast/public/media/cast_decoder_buffer.h (right): https://codereview.chromium.org/1257013003/diff/80001/chromecast/public/media/cast_decoder_buffer.h#newcode29 chromecast/public/media/cast_decoder_buffer.h:29: virtual StreamId stream_id() const = 0; On 2015/07/29 23:12:29, ...
5 years, 4 months ago (2015-07-30 00:19:57 UTC) #27
byungchul
https://codereview.chromium.org/1257013003/diff/120001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1257013003/diff/120001/chromecast/base/task_runner_impl.cc#newcode23 chromecast/base/task_runner_impl.cc:23: // vendor backends to send the callsite info. move ...
5 years, 4 months ago (2015-07-30 00:32:30 UTC) #28
halliwell
https://codereview.chromium.org/1257013003/diff/120001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1257013003/diff/120001/chromecast/base/task_runner_impl.cc#newcode23 chromecast/base/task_runner_impl.cc:23: // vendor backends to send the callsite info. On ...
5 years, 4 months ago (2015-07-30 03:08:11 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257013003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257013003/140001
5 years, 4 months ago (2015-07-30 03:37:04 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/79197) ios_dbg_simulator_ninja on ...
5 years, 4 months ago (2015-07-30 03:39:24 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257013003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257013003/160001
5 years, 4 months ago (2015-07-30 03:51:12 UTC) #35
byungchul
lgtm A nit though https://codereview.chromium.org/1257013003/diff/120001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1257013003/diff/120001/chromecast/base/task_runner_impl.cc#newcode24 chromecast/base/task_runner_impl.cc:24: if (delay_milliseconds == 0 && ...
5 years, 4 months ago (2015-07-30 05:22:54 UTC) #36
halliwell
https://codereview.chromium.org/1257013003/diff/120001/chromecast/base/task_runner_impl.cc File chromecast/base/task_runner_impl.cc (right): https://codereview.chromium.org/1257013003/diff/120001/chromecast/base/task_runner_impl.cc#newcode24 chromecast/base/task_runner_impl.cc:24: if (delay_milliseconds == 0 && runner_->BelongsToCurrentThread()) { On 2015/07/30 ...
5 years, 4 months ago (2015-07-30 05:40:19 UTC) #37
byungchul
https://codereview.chromium.org/1257013003/diff/180001/chromecast/public/task_runner.h File chromecast/public/task_runner.h (right): https://codereview.chromium.org/1257013003/diff/180001/chromecast/public/task_runner.h#newcode27 chromecast/public/task_runner.h:27: virtual ~TaskRunner() {} Should it be protected since it ...
5 years, 4 months ago (2015-07-30 17:19:07 UTC) #38
servolk
https://codereview.chromium.org/1257013003/diff/180001/chromecast/base/task_runner_impl.h File chromecast/base/task_runner_impl.h (right): https://codereview.chromium.org/1257013003/diff/180001/chromecast/base/task_runner_impl.h#newcode25 chromecast/base/task_runner_impl.h:25: bool PostTask(Task* task, uint64_t milliseconds) override; Nit: please rename ...
5 years, 4 months ago (2015-07-30 17:44:18 UTC) #39
servolk
https://codereview.chromium.org/1257013003/diff/180001/chromecast/public/media/media_clock_device.h File chromecast/public/media/media_clock_device.h (right): https://codereview.chromium.org/1257013003/diff/180001/chromecast/public/media/media_clock_device.h#newcode57 chromecast/public/media/media_clock_device.h:57: virtual int64_t GetTime() = 0; Now that it returns ...
5 years, 4 months ago (2015-07-30 17:50:29 UTC) #40
halliwell
https://codereview.chromium.org/1257013003/diff/180001/chromecast/base/task_runner_impl.h File chromecast/base/task_runner_impl.h (right): https://codereview.chromium.org/1257013003/diff/180001/chromecast/base/task_runner_impl.h#newcode25 chromecast/base/task_runner_impl.h:25: bool PostTask(Task* task, uint64_t milliseconds) override; On 2015/07/30 17:44:18, ...
5 years, 4 months ago (2015-07-30 18:20:19 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257013003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257013003/220001
5 years, 4 months ago (2015-07-30 19:55:35 UTC) #43
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/101723) android_chromium_gn_compile_dbg on ...
5 years, 4 months ago (2015-07-30 19:59:48 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257013003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257013003/240001
5 years, 4 months ago (2015-07-30 20:08:48 UTC) #47
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/36621)
5 years, 4 months ago (2015-07-30 20:31:09 UTC) #49
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257013003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257013003/260001
5 years, 4 months ago (2015-07-30 20:39:15 UTC) #51
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-07-30 21:07:23 UTC) #53
halliwell
On 2015/07/30 21:07:23, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 4 months ago (2015-08-06 17:30:32 UTC) #54
gunsch
I re-reviewed only the DecryptContext changes, which lgtm.
5 years, 4 months ago (2015-08-06 18:57:23 UTC) #55
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257013003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257013003/320001
5 years, 4 months ago (2015-08-07 15:49:16 UTC) #57
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-07 16:21:52 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1257013003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1257013003/320001
5 years, 4 months ago (2015-08-07 17:18:15 UTC) #62
commit-bot: I haz the power
Committed patchset #17 (id:320001)
5 years, 4 months ago (2015-08-07 17:24:19 UTC) #63
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/dad541d95f2df33f23d52dce79151291918a7a67 Cr-Commit-Position: refs/heads/master@{#342370}
5 years, 4 months ago (2015-08-07 17:24:53 UTC) #64
alokp
documentation nits for cast media api. https://codereview.chromium.org/1257013003/diff/320001/chromecast/public/cast_media_shlib.h File chromecast/public/cast_media_shlib.h (right): https://codereview.chromium.org/1257013003/diff/320001/chromecast/public/cast_media_shlib.h#newcode43 chromecast/public/cast_media_shlib.h:43: static VideoPlane* GetVideoPlane(); ...
5 years, 4 months ago (2015-08-10 20:30:25 UTC) #66
alokp
https://codereview.chromium.org/1257013003/diff/320001/chromecast/media/cma/base/decoder_buffer_adapter.h File chromecast/media/cma/base/decoder_buffer_adapter.h (right): https://codereview.chromium.org/1257013003/diff/320001/chromecast/media/cma/base/decoder_buffer_adapter.h#newcode22 chromecast/media/cma/base/decoder_buffer_adapter.h:22: class DecoderBufferAdapter : public DecoderBufferBase { Would it be ...
5 years, 4 months ago (2015-08-10 22:06:56 UTC) #67
alokp
https://codereview.chromium.org/1257013003/diff/320001/chromecast/public/media/media_component_device.h File chromecast/public/media/media_component_device.h (right): https://codereview.chromium.org/1257013003/diff/320001/chromecast/public/media/media_component_device.h#newcode58 chromecast/public/media/media_component_device.h:58: class FrameStatusCB { This is one more allocation per ...
5 years, 4 months ago (2015-08-10 22:20:09 UTC) #68
gunsch
https://codereview.chromium.org/1257013003/diff/320001/chromecast/public/media/media_component_device.h File chromecast/public/media/media_component_device.h (right): https://codereview.chromium.org/1257013003/diff/320001/chromecast/public/media/media_component_device.h#newcode58 chromecast/public/media/media_component_device.h:58: class FrameStatusCB { On 2015/08/10 22:20:09, Alok Priyadarshi wrote: ...
5 years, 4 months ago (2015-08-10 22:20:52 UTC) #69
alokp
On 2015/08/10 22:20:52, gunsch wrote: > https://codereview.chromium.org/1257013003/diff/320001/chromecast/public/media/media_component_device.h > File chromecast/public/media/media_component_device.h (right): > > https://codereview.chromium.org/1257013003/diff/320001/chromecast/public/media/media_component_device.h#newcode58 > ...
5 years, 4 months ago (2015-08-10 22:23:35 UTC) #70
halliwell
On 2015/08/10 22:23:35, Alok Priyadarshi wrote: > On 2015/08/10 22:20:52, gunsch wrote: > > > ...
5 years, 4 months ago (2015-08-10 22:27:48 UTC) #71
halliwell
https://codereview.chromium.org/1257013003/diff/320001/chromecast/media/cma/base/decoder_buffer_adapter.h File chromecast/media/cma/base/decoder_buffer_adapter.h (right): https://codereview.chromium.org/1257013003/diff/320001/chromecast/media/cma/base/decoder_buffer_adapter.h#newcode22 chromecast/media/cma/base/decoder_buffer_adapter.h:22: class DecoderBufferAdapter : public DecoderBufferBase { On 2015/08/10 22:06:56, ...
5 years, 4 months ago (2015-08-10 22:28:04 UTC) #72
gunsch
Not sure that we did so. I think we acknowledged that due to vendor toolchain ...
5 years, 4 months ago (2015-08-10 22:29:15 UTC) #73
alokp
On 2015/08/10 22:28:04, halliwell wrote: > https://codereview.chromium.org/1257013003/diff/320001/chromecast/media/cma/base/decoder_buffer_adapter.h > File chromecast/media/cma/base/decoder_buffer_adapter.h (right): > > https://codereview.chromium.org/1257013003/diff/320001/chromecast/media/cma/base/decoder_buffer_adapter.h#newcode22 > ...
5 years, 4 months ago (2015-08-10 22:39:56 UTC) #74
erickung1
On 2015/08/10 22:39:56, Alok Priyadarshi wrote: > On 2015/08/10 22:28:04, halliwell wrote: > > > ...
5 years, 4 months ago (2015-08-10 22:44:12 UTC) #75
halliwell
On 2015/08/10 22:39:56, Alok Priyadarshi wrote: > On 2015/08/10 22:28:04, halliwell wrote: > > > ...
5 years, 4 months ago (2015-08-10 22:45:10 UTC) #76
alokp
On 2015/08/10 22:45:10, halliwell wrote: > On 2015/08/10 22:39:56, Alok Priyadarshi wrote: > > On ...
5 years, 4 months ago (2015-08-10 23:12:28 UTC) #77
halliwell
On 2015/08/10 23:12:28, Alok Priyadarshi wrote: > On 2015/08/10 22:45:10, halliwell wrote: > > On ...
5 years, 4 months ago (2015-08-10 23:20:55 UTC) #78
byungchul
5 years, 4 months ago (2015-08-18 00:06:36 UTC) #79
Message was sent while issue was closed.
https://codereview.chromium.org/1257013003/diff/320001/chromecast/base/task_r...
File chromecast/base/task_runner_impl.h (right):

https://codereview.chromium.org/1257013003/diff/320001/chromecast/base/task_r...
chromecast/base/task_runner_impl.h:27: const
scoped_refptr<base::SingleThreadTaskRunner>& runner() const {
It should return scoped_refptr<base::SingleThreadTaskRunner>. Otherwise, the
caller may not increase ref-count like:

const scoped_refptr<>& runner = task_runner->runner();

Powered by Google App Engine
This is Rietveld 408576698