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

Issue 2016053003: Add audio_device_id in mojo media ServiceFactory CreateRenderer api. (Closed)

Created:
4 years, 6 months ago by tianyuwang1
Modified:
4 years, 5 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

audio_device_id is needed for audio volume ducking. audio_device_id is defined in media/audio/audio_device_description.h. The renderer needs a way to specify which audio device the sound should be play out. Bug=b/28193093 Committed: https://crrev.com/f3c4a58fcc70cd3384020708ce3ff50d847654ba Cr-Commit-Position: refs/heads/master@{#405213}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add device_id to CreateRenderer api. #

Patch Set 3 : Change all places that uses CreateRenderer api to pass in a device_id. #

Total comments: 5

Patch Set 4 : Change Create RendererFactory api to CreateRender api and removed CreateAudio[Video]Sink apis. #

Patch Set 5 : Rebased #

Patch Set 6 : Fix compile error #

Patch Set 7 : Fix clang format #

Patch Set 8 : Fix compile error #

Total comments: 10

Patch Set 9 : Fix comments. #

Total comments: 6

Patch Set 10 : Fixes according to comments. #

Total comments: 2

Patch Set 11 : Fix compile error #

Patch Set 12 : Fix clang format #

Total comments: 7

Patch Set 13 : Minor changes according to the code review. #

Total comments: 6

Patch Set 14 : Small fixes according to code review comments. #

Patch Set 15 : Add implementation to use audio_device_id in CastRender. #

Total comments: 6

Patch Set 16 : Fix comments #

Patch Set 17 : Fix an error #

Patch Set 18 : Fix test. #

Patch Set 19 : Fix an error #

Total comments: 2

Patch Set 20 : Fix an error #

Total comments: 2

Patch Set 21 : fix comment #

Total comments: 2

Patch Set 22 : Minor change based on the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -114 lines) Patch
M chromecast/browser/cast_content_browser_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M chromecast/browser/cast_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -1 line 0 comments Download
M chromecast/browser/media/cast_mojo_media_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +4 lines, -2 lines 0 comments Download
M chromecast/browser/media/cast_mojo_media_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -34 lines 0 comments Download
M chromecast/browser/media/cast_renderer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M chromecast/browser/media/cast_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -2 lines 0 comments Download
M chromecast/browser/media/media_pipeline_backend_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -2 lines 0 comments Download
M chromecast/browser/media/media_pipeline_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/media/media_interface_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -0 lines 0 comments Download
M media/mojo/interfaces/service_factory.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -1 line 0 comments Download
M media/mojo/services/media_mojo_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M media/mojo/services/mojo_media_client.h View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -15 lines 0 comments Download
M media/mojo/services/mojo_media_client.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -12 lines 0 comments Download
M media/mojo/services/service_factory_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -7 lines 0 comments Download
M media/mojo/services/service_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -21 lines 0 comments Download
M media/mojo/services/test_mojo_media_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +16 lines, -5 lines 0 comments Download
M media/mojo/services/test_mojo_media_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +31 lines, -6 lines 0 comments Download
M media/test/pipeline_integration_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 159 (66 generated)
tianyuwang1
4 years, 6 months ago (2016-05-27 00:24:35 UTC) #2
alokp
https://codereview.chromium.org/2016053003/diff/1/media/mojo/interfaces/renderer.mojom File media/mojo/interfaces/renderer.mojom (right): https://codereview.chromium.org/2016053003/diff/1/media/mojo/interfaces/renderer.mojom#newcode19 media/mojo/interfaces/renderer.mojom:19: string device_id) => (bool success); It is possible to ...
4 years, 6 months ago (2016-05-27 04:43:08 UTC) #4
xhwang
https://chromiumcodereview.appspot.com/2016053003/diff/1/media/mojo/interfaces/renderer.mojom File media/mojo/interfaces/renderer.mojom (right): https://chromiumcodereview.appspot.com/2016053003/diff/1/media/mojo/interfaces/renderer.mojom#newcode19 media/mojo/interfaces/renderer.mojom:19: string device_id) => (bool success); On 2016/05/27 04:43:08, alokp ...
4 years, 6 months ago (2016-05-27 06:06:35 UTC) #5
alokp
https://chromiumcodereview.appspot.com/2016053003/diff/1/media/mojo/interfaces/renderer.mojom File media/mojo/interfaces/renderer.mojom (right): https://chromiumcodereview.appspot.com/2016053003/diff/1/media/mojo/interfaces/renderer.mojom#newcode19 media/mojo/interfaces/renderer.mojom:19: string device_id) => (bool success); On 2016/05/27 06:06:35, xhwang ...
4 years, 6 months ago (2016-05-27 18:31:01 UTC) #6
DaleCurtis
Why do you need this? Your target process has access to AudioManager directly for stream ...
4 years, 6 months ago (2016-05-27 19:18:26 UTC) #7
DaleCurtis
It would make more sense if we wanted to go down this path to pass ...
4 years, 6 months ago (2016-05-27 19:19:32 UTC) #8
tianyuwang1
On 2016/05/27 19:18:26, DaleCurtis wrote: > Why do you need this? Your target process has ...
4 years, 6 months ago (2016-05-27 19:48:25 UTC) #9
DaleCurtis
How are you intending to pass this from WMPI? WMPI doesn't know about this information ...
4 years, 6 months ago (2016-05-27 20:25:40 UTC) #10
xhwang
On 2016/05/27 20:25:40, DaleCurtis wrote: > How are you intending to pass this from WMPI? ...
4 years, 6 months ago (2016-05-27 20:38:59 UTC) #11
tianyuwang1
On 2016/05/27 20:38:59, xhwang wrote: > On 2016/05/27 20:25:40, DaleCurtis wrote: > > How are ...
4 years, 6 months ago (2016-05-27 21:16:15 UTC) #12
alokp
On 2016/05/27 19:18:26, DaleCurtis wrote: > Why do you need this? Your target process has ...
4 years, 6 months ago (2016-05-27 21:30:07 UTC) #13
alokp
On 2016/05/27 19:19:32, DaleCurtis wrote: > It would make more sense if we wanted to ...
4 years, 6 months ago (2016-05-27 21:37:42 UTC) #14
alokp
On 2016/05/27 20:38:59, xhwang wrote: > On 2016/05/27 20:25:40, DaleCurtis wrote: > > How are ...
4 years, 6 months ago (2016-05-27 21:41:33 UTC) #15
tianyuwang1
I've change the device_id from Renderer.Initialize() to CreateRenderer api. Can you take a look and ...
4 years, 6 months ago (2016-05-28 00:21:22 UTC) #16
xhwang
On 2016/05/28 00:21:22, tianyuwang1 wrote: > I've change the device_id from Renderer.Initialize() to CreateRenderer api. ...
4 years, 6 months ago (2016-05-31 16:44:23 UTC) #17
DaleCurtis
lgtm, device_id is typically a hashed identifier of a system device, because on some systems ...
4 years, 6 months ago (2016-05-31 17:36:55 UTC) #18
xhwang
On 2016/05/31 17:36:55, DaleCurtis wrote: > lgtm, device_id is typically a hashed identifier of a ...
4 years, 6 months ago (2016-05-31 17:51:35 UTC) #19
DaleCurtis
Renderer has ways of getting the right hashed identifier, so it will be either one ...
4 years, 6 months ago (2016-05-31 17:59:25 UTC) #20
xhwang
On 2016/05/31 17:59:25, DaleCurtis wrote: > Renderer has ways of getting the right hashed identifier, ...
4 years, 6 months ago (2016-05-31 18:16:42 UTC) #21
tianyuwang1
On 2016/05/31 18:16:42, xhwang wrote: > On 2016/05/31 17:59:25, DaleCurtis wrote: > > Renderer has ...
4 years, 6 months ago (2016-05-31 18:24:58 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/40001
4 years, 6 months ago (2016-05-31 22:19:43 UTC) #25
tianyuwang1
4 years, 6 months ago (2016-05-31 22:25:06 UTC) #27
alokp
https://codereview.chromium.org/2016053003/diff/40001/media/mojo/interfaces/service_factory.mojom File media/mojo/interfaces/service_factory.mojom (right): https://codereview.chromium.org/2016053003/diff/40001/media/mojo/interfaces/service_factory.mojom#newcode26 media/mojo/interfaces/service_factory.mojom:26: string? audio_device_id); Since kDefaultDeviceId is already defined, may be ...
4 years, 6 months ago (2016-06-01 00:06:14 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/230909)
4 years, 6 months ago (2016-06-01 00:45:28 UTC) #30
xhwang
https://codereview.chromium.org/2016053003/diff/40001/media/mojo/services/mojo_media_client.h File media/mojo/services/mojo_media_client.h (right): https://codereview.chromium.org/2016053003/diff/40001/media/mojo/services/mojo_media_client.h#newcode55 media/mojo/services/mojo_media_client.h:55: virtual std::unique_ptr<RendererFactory> CreateRendererFactory( On 2016/06/01 00:06:14, alokp wrote: > ...
4 years, 6 months ago (2016-06-01 05:26:27 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/60001
4 years, 6 months ago (2016-06-01 22:32:56 UTC) #33
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/146484) linux_chromium_gn_chromeos_rel on ...
4 years, 6 months ago (2016-06-01 22:37:48 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/60001
4 years, 6 months ago (2016-06-01 23:32:55 UTC) #37
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/75296) android_compile_dbg on ...
4 years, 6 months ago (2016-06-01 23:38:29 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/80001
4 years, 6 months ago (2016-06-01 23:41:12 UTC) #41
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/75072) cast_shell_android on ...
4 years, 6 months ago (2016-06-01 23:56:57 UTC) #43
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/120001
4 years, 6 months ago (2016-06-02 00:14:24 UTC) #45
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/75096)
4 years, 6 months ago (2016-06-02 00:47:33 UTC) #47
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/140001
4 years, 6 months ago (2016-06-02 02:34:20 UTC) #49
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/171039) linux_chromium_chromeos_ozone_rel_ng on ...
4 years, 6 months ago (2016-06-02 02:45:48 UTC) #51
tianyuwang1
PTAL https://codereview.chromium.org/2016053003/diff/40001/media/mojo/interfaces/service_factory.mojom File media/mojo/interfaces/service_factory.mojom (right): https://codereview.chromium.org/2016053003/diff/40001/media/mojo/interfaces/service_factory.mojom#newcode26 media/mojo/interfaces/service_factory.mojom:26: string? audio_device_id); On 2016/06/01 00:06:14, alokp wrote: > ...
4 years, 6 months ago (2016-06-02 03:32:33 UTC) #52
alokp
lgtm % nits https://codereview.chromium.org/2016053003/diff/140001/content/renderer/media/media_interface_provider.cc File content/renderer/media/media_interface_provider.cc (right): https://codereview.chromium.org/2016053003/diff/140001/content/renderer/media/media_interface_provider.cc#newcode36 content/renderer/media/media_interface_provider.cc:36: mojo::MakeRequest<media::mojom::Renderer>(std::move(pipe)), ""); since string is optional, ...
4 years, 6 months ago (2016-06-02 04:47:55 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/160001
4 years, 6 months ago (2016-06-02 05:18:36 UTC) #55
tianyuwang1
https://codereview.chromium.org/2016053003/diff/140001/content/renderer/media/media_interface_provider.cc File content/renderer/media/media_interface_provider.cc (right): https://codereview.chromium.org/2016053003/diff/140001/content/renderer/media/media_interface_provider.cc#newcode36 content/renderer/media/media_interface_provider.cc:36: mojo::MakeRequest<media::mojom::Renderer>(std::move(pipe)), ""); On 2016/06/02 04:47:55, alokp wrote: > since ...
4 years, 6 months ago (2016-06-02 05:18:39 UTC) #56
alokp
Also update patch title and description before landing. https://codereview.chromium.org/2016053003/diff/140001/media/mojo/services/mojo_media_client.h File media/mojo/services/mojo_media_client.h (right): https://codereview.chromium.org/2016053003/diff/140001/media/mojo/services/mojo_media_client.h#newcode55 media/mojo/services/mojo_media_client.h:55: const ...
4 years, 6 months ago (2016-06-02 05:26:06 UTC) #57
xhwang
Thanks for doing this! looking good with some bike shedding and % alokp's comments. https://chromiumcodereview.appspot.com/2016053003/diff/160001/media/mojo/interfaces/service_factory.mojom ...
4 years, 6 months ago (2016-06-02 06:09:29 UTC) #58
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-02 07:11:40 UTC) #60
alokp
https://chromiumcodereview.appspot.com/2016053003/diff/160001/media/mojo/interfaces/service_factory.mojom File media/mojo/interfaces/service_factory.mojom (right): https://chromiumcodereview.appspot.com/2016053003/diff/160001/media/mojo/interfaces/service_factory.mojom#newcode26 media/mojo/interfaces/service_factory.mojom:26: string? audio_device_id); On 2016/06/02 06:09:29, xhwang wrote: > +alop: ...
4 years, 6 months ago (2016-06-02 10:54:15 UTC) #61
tianyuwang1
https://chromiumcodereview.appspot.com/2016053003/diff/140001/media/mojo/services/mojo_media_client.h File media/mojo/services/mojo_media_client.h (right): https://chromiumcodereview.appspot.com/2016053003/diff/140001/media/mojo/services/mojo_media_client.h#newcode55 media/mojo/services/mojo_media_client.h:55: const scoped_refptr<base::SingleThreadTaskRunner>& media_task_runner, On 2016/06/02 05:26:06, alokp wrote: > ...
4 years, 6 months ago (2016-06-02 21:50:53 UTC) #62
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/180001
4 years, 6 months ago (2016-06-02 21:52:20 UTC) #65
xhwang
lgtm with one question https://chromiumcodereview.appspot.com/2016053003/diff/180001/media/mojo/services/service_factory_impl.h File media/mojo/services/service_factory_impl.h (right): https://chromiumcodereview.appspot.com/2016053003/diff/180001/media/mojo/services/service_factory_impl.h#newcode44 media/mojo/services/service_factory_impl.h:44: const std::string& audio_device_id) final; Is ...
4 years, 6 months ago (2016-06-02 21:53:50 UTC) #66
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/75939)
4 years, 6 months ago (2016-06-02 22:09:34 UTC) #68
tianyuwang1
https://codereview.chromium.org/2016053003/diff/180001/media/mojo/services/service_factory_impl.h File media/mojo/services/service_factory_impl.h (right): https://codereview.chromium.org/2016053003/diff/180001/media/mojo/services/service_factory_impl.h#newcode44 media/mojo/services/service_factory_impl.h:44: const std::string& audio_device_id) final; On 2016/06/02 21:53:50, xhwang wrote: ...
4 years, 6 months ago (2016-06-03 00:21:16 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/200001
4 years, 6 months ago (2016-06-03 00:22:34 UTC) #73
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/75915) cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 6 months ago (2016-06-03 00:31:10 UTC) #75
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/200001
4 years, 6 months ago (2016-06-03 00:52:42 UTC) #78
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/194426)
4 years, 6 months ago (2016-06-03 01:03:53 UTC) #80
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/220001
4 years, 6 months ago (2016-06-03 01:06:44 UTC) #82
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-03 03:32:59 UTC) #84
dcheng
https://codereview.chromium.org/2016053003/diff/220001/chromecast/browser/media/cast_mojo_media_client.cc File chromecast/browser/media/cast_mojo_media_client.cc (right): https://codereview.chromium.org/2016053003/diff/220001/chromecast/browser/media/cast_mojo_media_client.cc#newcode26 chromecast/browser/media/cast_mojo_media_client.cc:26: return base::WrapUnique(new chromecast::media::CastRenderer( return base::MakeUnique<chromecast::media::CastRenderer>(create_backend_cb_, std::move(media_task_runner)); https://codereview.chromium.org/2016053003/diff/220001/content/renderer/media/media_interface_provider.cc File content/renderer/media/media_interface_provider.cc ...
4 years, 6 months ago (2016-06-03 04:29:49 UTC) #85
xhwang
https://codereview.chromium.org/2016053003/diff/220001/media/mojo/interfaces/service_factory.mojom File media/mojo/interfaces/service_factory.mojom (right): https://codereview.chromium.org/2016053003/diff/220001/media/mojo/interfaces/service_factory.mojom#newcode24 media/mojo/interfaces/service_factory.mojom:24: // is empty, kDefaultDeviceId will be used. On 2016/06/03 ...
4 years, 6 months ago (2016-06-03 04:53:28 UTC) #86
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016053003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016053003/240001
4 years, 6 months ago (2016-06-03 15:31:07 UTC) #88
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-03 17:26:44 UTC) #90
tianyuwang1
https://codereview.chromium.org/2016053003/diff/220001/chromecast/browser/media/cast_mojo_media_client.cc File chromecast/browser/media/cast_mojo_media_client.cc (right): https://codereview.chromium.org/2016053003/diff/220001/chromecast/browser/media/cast_mojo_media_client.cc#newcode26 chromecast/browser/media/cast_mojo_media_client.cc:26: return base::WrapUnique(new chromecast::media::CastRenderer( On 2016/06/03 04:29:48, dcheng wrote: > ...
4 years, 6 months ago (2016-06-03 18:31:50 UTC) #91
dcheng
I'm honestly a bit confused about how media's mojo services are supposed to be distributed, ...
4 years, 6 months ago (2016-06-04 05:30:00 UTC) #92
dcheng
Have you started working on the followup CL that actually consumes |audio_device_id|? In general, we ...
4 years, 6 months ago (2016-06-06 21:24:08 UTC) #93
tianyuwang1
On 2016/06/06 21:24:08, dcheng wrote: > Have you started working on the followup CL that ...
4 years, 6 months ago (2016-06-06 22:45:34 UTC) #94
tianyuwang1
https://codereview.chromium.org/2016053003/diff/240001/media/mojo/services/test_mojo_media_client.cc File media/mojo/services/test_mojo_media_client.cc (right): https://codereview.chromium.org/2016053003/diff/240001/media/mojo/services/test_mojo_media_client.cc#newcode64 media/mojo/services/test_mojo_media_client.cc:64: RendererFactory* renderer_factory = GetRendererFactory(media_log); On 2016/06/06 21:24:08, dcheng wrote: ...
4 years, 6 months ago (2016-06-06 22:45:48 UTC) #95
dcheng
I would prefer to see the followup CL that actually consumes it merged into this. ...
4 years, 6 months ago (2016-06-07 02:28:39 UTC) #96
xhwang
On 2016/06/07 02:28:39, dcheng wrote: > I would prefer to see the followup CL that ...
4 years, 6 months ago (2016-06-07 23:38:49 UTC) #97
dcheng
On 2016/06/07 23:38:49, xhwang wrote: > On 2016/06/07 02:28:39, dcheng wrote: > > I would ...
4 years, 6 months ago (2016-06-13 17:37:56 UTC) #98
tianyuwang1
On 2016/06/13 17:37:56, dcheng wrote: > On 2016/06/07 23:38:49, xhwang wrote: > > On 2016/06/07 ...
4 years, 6 months ago (2016-06-13 17:40:04 UTC) #99
xhwang
On 2016/06/13 17:37:56, dcheng wrote: > On 2016/06/07 23:38:49, xhwang wrote: > > On 2016/06/07 ...
4 years, 6 months ago (2016-06-13 17:51:14 UTC) #100
xhwang
tianyuwang: Actually this CL contains some refactoring that is not related to audio_device_id. Does it ...
4 years, 6 months ago (2016-06-24 20:34:30 UTC) #101
tianyuwang1
Sorry for the long delay. Just finished another more urgent task. I've added the implementation ...
4 years, 5 months ago (2016-07-11 22:26:16 UTC) #104
alokp
https://codereview.chromium.org/2016053003/diff/280001/chromecast/browser/media/cast_renderer.cc File chromecast/browser/media/cast_renderer.cc (right): https://codereview.chromium.org/2016053003/diff/280001/chromecast/browser/media/cast_renderer.cc#newcode32 chromecast/browser/media/cast_renderer.cc:32: int GetStreamType(const std::string& audio_device_id) { This is weird. Where ...
4 years, 5 months ago (2016-07-12 05:01:31 UTC) #111
kmackay
https://codereview.chromium.org/2016053003/diff/280001/chromecast/browser/media/media_pipeline_backend_factory.h File chromecast/browser/media/media_pipeline_backend_factory.h (right): https://codereview.chromium.org/2016053003/diff/280001/chromecast/browser/media/media_pipeline_backend_factory.h#newcode19 chromecast/browser/media/media_pipeline_backend_factory.h:19: int stream_type)> CreateMediaPipelineBackendCB; I think it would be better ...
4 years, 5 months ago (2016-07-12 05:20:31 UTC) #112
tianyuwang1
PTAL https://codereview.chromium.org/2016053003/diff/280001/chromecast/browser/media/cast_renderer.cc File chromecast/browser/media/cast_renderer.cc (right): https://codereview.chromium.org/2016053003/diff/280001/chromecast/browser/media/cast_renderer.cc#newcode32 chromecast/browser/media/cast_renderer.cc:32: int GetStreamType(const std::string& audio_device_id) { On 2016/07/12 05:01:30, ...
4 years, 5 months ago (2016-07-12 15:28:09 UTC) #117
kmackay
https://codereview.chromium.org/2016053003/diff/360001/chromecast/browser/cast_content_browser_client.cc File chromecast/browser/cast_content_browser_client.cc (right): https://codereview.chromium.org/2016053003/diff/360001/chromecast/browser/cast_content_browser_client.cc#newcode160 chromecast/browser/cast_content_browser_client.cc:160: params, audio_device_id); Don't pass the audio_device_id to media_pipeline_backend_manager()->CreateMediaPipelineBackend() here ...
4 years, 5 months ago (2016-07-12 16:22:08 UTC) #125
kmackay
4 years, 5 months ago (2016-07-12 16:22:13 UTC) #126
tianyuwang1
Fixed an error https://codereview.chromium.org/2016053003/diff/360001/chromecast/browser/cast_content_browser_client.cc File chromecast/browser/cast_content_browser_client.cc (right): https://codereview.chromium.org/2016053003/diff/360001/chromecast/browser/cast_content_browser_client.cc#newcode160 chromecast/browser/cast_content_browser_client.cc:160: params, audio_device_id); On 2016/07/12 16:22:08, kmackay ...
4 years, 5 months ago (2016-07-12 16:26:35 UTC) #128
kmackay
https://codereview.chromium.org/2016053003/diff/380001/chromecast/browser/media/cast_mojo_media_client.h File chromecast/browser/media/cast_mojo_media_client.h (left): https://codereview.chromium.org/2016053003/diff/380001/chromecast/browser/media/cast_mojo_media_client.h#oldcode26 chromecast/browser/media/cast_mojo_media_client.h:26: std::unique_ptr<::media::CdmFactory> CreateCdmFactory( Is CreateCdmFactory() supposed to be deleted?
4 years, 5 months ago (2016-07-12 16:55:45 UTC) #130
tianyuwang1
https://codereview.chromium.org/2016053003/diff/380001/chromecast/browser/media/cast_mojo_media_client.h File chromecast/browser/media/cast_mojo_media_client.h (left): https://codereview.chromium.org/2016053003/diff/380001/chromecast/browser/media/cast_mojo_media_client.h#oldcode26 chromecast/browser/media/cast_mojo_media_client.h:26: std::unique_ptr<::media::CdmFactory> CreateCdmFactory( On 2016/07/12 16:55:45, kmackay wrote: > Is ...
4 years, 5 months ago (2016-07-12 18:12:38 UTC) #133
kmackay
lgtm % nit https://codereview.chromium.org/2016053003/diff/400001/chromecast/browser/cast_content_browser_client.cc File chromecast/browser/cast_content_browser_client.cc (right): https://codereview.chromium.org/2016053003/diff/400001/chromecast/browser/cast_content_browser_client.cc#newcode160 chromecast/browser/cast_content_browser_client.cc:160: params, 0); nit: I'd prefer to ...
4 years, 5 months ago (2016-07-12 18:35:52 UTC) #136
tianyuwang1
https://codereview.chromium.org/2016053003/diff/400001/chromecast/browser/cast_content_browser_client.cc File chromecast/browser/cast_content_browser_client.cc (right): https://codereview.chromium.org/2016053003/diff/400001/chromecast/browser/cast_content_browser_client.cc#newcode160 chromecast/browser/cast_content_browser_client.cc:160: params, 0); On 2016/07/12 18:35:52, kmackay wrote: > nit: ...
4 years, 5 months ago (2016-07-12 19:38:35 UTC) #139
tianyuwang1
4 years, 5 months ago (2016-07-12 19:42:19 UTC) #141
kenrb
As dcheng mentioned, security IPC reviews are tricky when the handling code isn't implemented. Is ...
4 years, 5 months ago (2016-07-13 00:57:42 UTC) #144
tianyuwang1
On 2016/07/13 00:57:42, kenrb wrote: > As dcheng mentioned, security IPC reviews are tricky when ...
4 years, 5 months ago (2016-07-13 01:08:50 UTC) #145
tianyuwang1
On 2016/07/13 01:08:50, tianyuwang1 wrote: > On 2016/07/13 00:57:42, kenrb wrote: > > As dcheng ...
4 years, 5 months ago (2016-07-13 01:11:02 UTC) #146
kenrb
ipc lgtm
4 years, 5 months ago (2016-07-13 12:50:42 UTC) #147
dcheng
On 2016/07/13 01:11:02, tianyuwang1 wrote: > On 2016/07/13 01:08:50, tianyuwang1 wrote: > > On 2016/07/13 ...
4 years, 5 months ago (2016-07-13 13:25:37 UTC) #148
tianyuwang1
On 2016/07/13 13:25:37, dcheng wrote: > On 2016/07/13 01:11:02, tianyuwang1 wrote: > > On 2016/07/13 ...
4 years, 5 months ago (2016-07-13 17:30:57 UTC) #149
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/2016053003/420001
4 years, 5 months ago (2016-07-13 17:32:32 UTC) #152
commit-bot: I haz the power
Committed patchset #22 (id:420001)
4 years, 5 months ago (2016-07-13 17:39:05 UTC) #154
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 17:39:40 UTC) #155
commit-bot: I haz the power
Patchset 22 (id:??) landed as https://crrev.com/f3c4a58fcc70cd3384020708ce3ff50d847654ba Cr-Commit-Position: refs/heads/master@{#405213}
4 years, 5 months ago (2016-07-13 17:41:47 UTC) #157
dcheng
On 2016/07/13 17:30:57, tianyuwang1 wrote: > On 2016/07/13 13:25:37, dcheng wrote: > > On 2016/07/13 ...
4 years, 5 months ago (2016-07-14 01:20:01 UTC) #158
kmackay
4 years, 5 months ago (2016-07-14 01:22:17 UTC) #159
Message was sent while issue was closed.
> 
> If it's just a hypothetical use case, it still seems better to start with the
> more narrowly scoped type (restricted to enums) rather than allowing freeform
> strings. If it's something that will actually be needed, then this is fine.

I think we don't necessarily want to expose the enum names publicly.

Powered by Google App Engine
This is Rietveld 408576698