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

Issue 1362093002: Re-land: Add localized default audio device names. (Closed)

Created:
5 years, 2 months ago by ajm
Modified:
5 years, 2 months ago
Reviewers:
Nico, DaleCurtis
CC:
chromium-reviews, imcheng+watch_chromium.org, posciak+watch_chromium.org, avayvod+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, jasonroberts+watch_google.com, xjz+watch_chromium.org, isheriff+watch_chromium.org, mlamouri+watch-media_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-land: Add localized default audio device names. Original CL here: https://codereview.chromium.org/1339183002/ The original CL added a media dependency to the chrome/ targets. iOS builds were failing as a result, because media doesn't yet build on iOS. This removes the media dependency for iOS. BUG=497001 Committed: https://crrev.com/c82ba18e50843b4bfecb1238205db4c23b533d91 Cr-Commit-Position: refs/heads/master@{#351213}

Patch Set 1 #

Patch Set 2 : Add media_resources target. #

Patch Set 3 : Remove MEDIA_EXPORT. #

Total comments: 2

Patch Set 4 : Don't try to SetLocalizedStringProvider on iOS. #

Patch Set 5 : Rebase. #

Total comments: 2

Patch Set 6 : Exclude media_resource_provider on iOS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+319 lines, -91 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/media/media_resource_provider.h View 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/common/media/media_resource_provider.cc View 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/renderer/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/renderer/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_render_process_observer.cc View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/audio_output_device_enumerator.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/audio/alsa/audio_manager_alsa.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M media/audio/android/audio_android_unittest.cc View 7 chunks +18 lines, -18 lines 0 comments Download
M media/audio/android/audio_manager_android.cc View 1 chunk +9 lines, -7 lines 0 comments Download
M media/audio/audio_manager.h View 1 chunk +7 lines, -0 lines 0 comments Download
M media/audio/audio_manager.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M media/audio/audio_manager_base.h View 1 chunk +6 lines, -9 lines 0 comments Download
M media/audio/audio_manager_base.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M media/audio/audio_manager_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M media/audio/audio_output_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/audio/cras/audio_manager_cras.h View 1 chunk +0 lines, -4 lines 0 comments Download
M media/audio/cras/audio_manager_cras.cc View 5 chunks +22 lines, -33 lines 0 comments Download
M media/audio/mac/audio_manager_mac.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/audio/pulse/audio_manager_pulse.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/audio/win/audio_manager_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/BUILD.gn View 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A media/base/fake_media_resources.h View 1 chunk +15 lines, -0 lines 0 comments Download
A media/base/fake_media_resources.cc View 1 chunk +18 lines, -0 lines 0 comments Download
A media/base/media_resources.h View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
A media/base/media_resources.cc View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M media/base/run_all_unittests.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M media/cast/cast_testing.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
ajm
The original CL was reverted due to a failure in media/ on an iOS commit ...
5 years, 2 months ago (2015-09-24 00:21:37 UTC) #3
Nico
https://codereview.chromium.org/1362093002/diff/60001/media/base/BUILD.gn File media/base/BUILD.gn (right): https://codereview.chromium.org/1362093002/diff/60001/media/base/BUILD.gn#newcode299 media/base/BUILD.gn:299: source_set("media_resources") { This seems fiddly to me. That's a ...
5 years, 2 months ago (2015-09-24 00:37:16 UTC) #4
ajm
https://codereview.chromium.org/1362093002/diff/60001/media/base/BUILD.gn File media/base/BUILD.gn (right): https://codereview.chromium.org/1362093002/diff/60001/media/base/BUILD.gn#newcode299 media/base/BUILD.gn:299: source_set("media_resources") { On 2015/09/24 00:37:16, Nico (traveling Tue Sep ...
5 years, 2 months ago (2015-09-24 00:45:39 UTC) #5
Nico
I don't think it's an actual problem in this case, but it kinda sets a ...
5 years, 2 months ago (2015-09-24 00:53:51 UTC) #6
ajm
On 2015/09/24 00:53:51, Nico (traveling Tue Sep 22) wrote: > I don't think it's an ...
5 years, 2 months ago (2015-09-24 01:46:10 UTC) #7
ajm
On 2015/09/24 01:46:10, ajm wrote: > I don't need this code in iOS, but that's ...
5 years, 2 months ago (2015-09-24 01:48:54 UTC) #8
Nico
right :-)
5 years, 2 months ago (2015-09-24 01:51:41 UTC) #9
ajm
On 2015/09/24 01:51:41, Nico (traveling Tue Sep 22) wrote: > right :-) OK, will try ...
5 years, 2 months ago (2015-09-24 01:58:23 UTC) #10
ajm
Nice suggestion, it works fine. PTAL. Nico, I see that you're "offline until Oct 9" ...
5 years, 2 months ago (2015-09-26 02:38:22 UTC) #11
Nico
chrome/ lgtm (and now i'm gone for good, if you need more then you do ...
5 years, 2 months ago (2015-09-26 04:28:07 UTC) #12
DaleCurtis
media/ lgtm
5 years, 2 months ago (2015-09-27 17:39:26 UTC) #13
ajm
https://codereview.chromium.org/1362093002/diff/100001/chrome/chrome_common.gypi File chrome/chrome_common.gypi (right): https://codereview.chromium.org/1362093002/diff/100001/chrome/chrome_common.gypi#newcode73 chrome/chrome_common.gypi:73: 'common/media/media_resource_provider.h', On 2015/09/26 04:28:06, Nico (offline until Fri Oct ...
5 years, 2 months ago (2015-09-28 22:34:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1362093002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1362093002/140001
5 years, 2 months ago (2015-09-28 22:36:37 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 2 months ago (2015-09-29 00:21:45 UTC) #19
commit-bot: I haz the power
5 years, 2 months ago (2015-09-29 00:22:21 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c82ba18e50843b4bfecb1238205db4c23b533d91
Cr-Commit-Position: refs/heads/master@{#351213}

Powered by Google App Engine
This is Rietveld 408576698