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

Issue 1908423006: Allow content embedders to create AudioManager. (Closed)

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

Description

Allow content embedders to create AudioManager. This allows the content embedders to choose the implementation and task runner for AudioManager instance. Moving the factory function to ContentBrowserClient eliminates the need for AudioManagerFactory, which this patch removes as well. BUG=594234 Committed: https://crrev.com/f2f046b64c75438d36ac0b60a8bc6cc382f068a2 Cr-Commit-Position: refs/heads/master@{#389633}

Patch Set 1 #

Total comments: 8

Patch Set 2 : ScopedAudioManagerPtr instead of raw pointer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -269 lines) Patch
M chromecast/browser/cast_browser_main_parts.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chromecast/browser/cast_content_browser_client.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M chromecast/media/audio/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D chromecast/media/audio/cast_audio_manager_factory.h View 1 chunk +0 lines, -37 lines 0 comments Download
D chromecast/media/audio/cast_audio_manager_factory.cc View 1 chunk +0 lines, -32 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 1 chunk +27 lines, -20 lines 0 comments Download
M content/public/browser/DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M media/audio/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M media/audio/audio_manager.h View 5 chunks +7 lines, -19 lines 0 comments Download
M media/audio/audio_manager.cc View 5 chunks +14 lines, -43 lines 0 comments Download
D media/audio/audio_manager_factory.h View 1 chunk +0 lines, -38 lines 0 comments Download
D media/audio/audio_manager_factory_unittest.cc View 1 chunk +0 lines, -69 lines 0 comments Download
M media/media.gyp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (6 generated)
alokp
4 years, 8 months ago (2016-04-22 23:37:41 UTC) #2
DaleCurtis
lg % removing hang monitor enable. https://codereview.chromium.org/1908423006/diff/1/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/1908423006/diff/1/content/browser/browser_main_loop.cc#newcode1520 content/browser/browser_main_loop.cc:1520: if (use_hang_monitor) This ...
4 years, 8 months ago (2016-04-22 23:45:06 UTC) #3
alokp
https://codereview.chromium.org/1908423006/diff/1/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/1908423006/diff/1/content/browser/browser_main_loop.cc#newcode1520 content/browser/browser_main_loop.cc:1520: if (use_hang_monitor) On 2016/04/22 23:45:06, DaleCurtis wrote: > This ...
4 years, 8 months ago (2016-04-22 23:54:21 UTC) #4
DaleCurtis
Ah right, lgtm then
4 years, 8 months ago (2016-04-22 23:56:29 UTC) #5
alokp
jam: content/
4 years, 8 months ago (2016-04-22 23:57:34 UTC) #7
jam
lgtm https://codereview.chromium.org/1908423006/diff/1/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/1908423006/diff/1/content/public/browser/content_browser_client.h#newcode711 content/public/browser/content_browser_client.h:711: // If this function returns NULL, a default ...
4 years, 8 months ago (2016-04-25 15:40:47 UTC) #8
alokp
https://codereview.chromium.org/1908423006/diff/1/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/1908423006/diff/1/content/public/browser/content_browser_client.h#newcode711 content/public/browser/content_browser_client.h:711: // If this function returns NULL, a default platform ...
4 years, 8 months ago (2016-04-25 16:59:53 UTC) #9
alokp
4 years, 8 months ago (2016-04-25 17:04:31 UTC) #11
jam
lgtm
4 years, 8 months ago (2016-04-25 18:21:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908423006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908423006/20001
4 years, 8 months ago (2016-04-25 20:00:05 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-26 00:26:59 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 00:29:11 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f2f046b64c75438d36ac0b60a8bc6cc382f068a2
Cr-Commit-Position: refs/heads/master@{#389633}

Powered by Google App Engine
This is Rietveld 408576698