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

Issue 2688773002: Restrict deprecated parts of audio API usage to whitelisted apps (Closed)

Created:
3 years, 10 months ago by tbarzic
Modified:
3 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Restrict deprecated parts of audio API usage to whitelisted apps Removes two deprecated properties from AudioDeviceInfo, which should be safe to do at this point, as the object is not currently used by the apps whitelisted for audio API. BUG=673392 Review-Url: https://codereview.chromium.org/2688773002 Cr-Commit-Position: refs/heads/master@{#454204} Committed: https://chromium.googlesource.com/chromium/src/+/7c6ba299357a5780218eb7a7fd00a35b9cbecc96

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Total comments: 12

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+482 lines, -166 lines) Patch
M extensions/browser/api/audio/audio_api.cc View 1 2 3 4 5 6 7 8 9 5 chunks +63 lines, -9 lines 0 comments Download
M extensions/browser/api/audio/audio_apitest.cc View 4 chunks +39 lines, -0 lines 0 comments Download
M extensions/browser/api/audio/audio_service_chromeos.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M extensions/common/api/_behavior_features.json View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -1 line 0 comments Download
M extensions/common/api/audio.idl View 1 2 4 5 6 7 8 7 chunks +9 lines, -12 lines 0 comments Download
M extensions/common/features/behavior_feature.h View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/features/behavior_feature.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/test/data/api_test/audio/add_nodes/background.js View 2 chunks +4 lines, -4 lines 0 comments Download
A extensions/test/data/api_test/audio/deprecated_api/manifest.json View 1 chunk +8 lines, -0 lines 0 comments Download
A extensions/test/data/api_test/audio/deprecated_api/test.js View 1 2 3 4 1 chunk +237 lines, -0 lines 0 comments Download
M extensions/test/data/api_test/audio/remove_nodes/background.js View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/test/data/api_test/audio/test.js View 1 2 3 4 5 6 7 8 4 chunks +100 lines, -133 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
tbarzic
steel and mnilsson, FYI https://codereview.chromium.org/2688773002/diff/120001/extensions/common/api/audio.idl File extensions/common/api/audio.idl (left): https://codereview.chromium.org/2688773002/diff/120001/extensions/common/api/audio.idl#oldcode69 extensions/common/api/audio.idl:69: [deprecated="Use |streamType|."] boolean isInput; Note ...
3 years, 10 months ago (2017-02-16 00:42:55 UTC) #6
Devlin
https://codereview.chromium.org/2688773002/diff/120001/extensions/common/api/audio.idl File extensions/common/api/audio.idl (right): https://codereview.chromium.org/2688773002/diff/120001/extensions/common/api/audio.idl#newcode213 extensions/common/api/audio.idl:213: // event will not work for apps that are ...
3 years, 10 months ago (2017-02-22 00:31:43 UTC) #7
tbarzic
https://codereview.chromium.org/2688773002/diff/120001/extensions/common/api/audio.idl File extensions/common/api/audio.idl (right): https://codereview.chromium.org/2688773002/diff/120001/extensions/common/api/audio.idl#newcode213 extensions/common/api/audio.idl:213: // event will not work for apps that are ...
3 years, 10 months ago (2017-02-22 00:38:37 UTC) #8
Devlin
Do we have a timeline for exactly how long we're going to give the apps ...
3 years, 10 months ago (2017-02-22 14:13:14 UTC) #9
tbarzic
https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api/audio/audio_api.cc File extensions/browser/api/audio/audio_api.cc (right): https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api/audio/audio_api.cc#newcode23 extensions/browser/api/audio/audio_api.cc:23: bool CanUseDeprecatedAudioApi(const Extension* extension) { On 2017/02/22 14:13:14, Devlin ...
3 years, 10 months ago (2017-02-22 19:35:19 UTC) #10
Devlin
largely lg, but I'd like a definitive time frame for removing the deprecated function handling ...
3 years, 10 months ago (2017-02-23 23:17:42 UTC) #11
jennyz
lgtm
3 years, 9 months ago (2017-03-01 01:10:46 UTC) #12
tbarzic
https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api/audio/audio_api.cc File extensions/browser/api/audio/audio_api.cc (right): https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api/audio/audio_api.cc#newcode23 extensions/browser/api/audio/audio_api.cc:23: bool CanUseDeprecatedAudioApi(const Extension* extension) { On 2017/02/22 19:35:18, tbarzic ...
3 years, 9 months ago (2017-03-01 17:36:24 UTC) #13
Devlin
lgtm
3 years, 9 months ago (2017-03-02 01:46:22 UTC) #14
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/2688773002/180001
3 years, 9 months ago (2017-03-02 01:48:24 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/242631)
3 years, 9 months ago (2017-03-02 05:43:58 UTC) #19
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/2688773002/180001
3 years, 9 months ago (2017-03-02 05:54:10 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 07:39:03 UTC) #24
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/7c6ba299357a5780218eb7a7fd00...

Powered by Google App Engine
This is Rietveld 408576698