Description was changed from ========== Restrict deprecated parts of audio API usage to whitelisetd apps ...
3 years, 10 months ago
(2017-02-10 00:43:09 UTC)
#1
Description was changed from
==========
Restrict deprecated parts of audio API usage to whitelisetd apps
BUG=673392
==========
to
==========
Restrict deprecated parts of audio API usage to whitelisted apps
BUG=673392
==========
tbarzic
The CQ bit was checked by tbarzic@chromium.org to run a CQ dry run
3 years, 10 months ago
(2017-02-15 23:47:05 UTC)
#2
Description was changed from ========== Restrict deprecated parts of audio API usage to whitelisted apps ...
3 years, 10 months ago
(2017-02-16 00:33:19 UTC)
#4
Description was changed from
==========
Restrict deprecated parts of audio API usage to whitelisted apps
BUG=673392
==========
to
==========
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
==========
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
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
3 years, 10 months ago
(2017-02-22 19:35:19 UTC)
#10
https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api...
File extensions/browser/api/audio/audio_api.cc (right):
https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api...
extensions/browser/api/audio/audio_api.cc:23: bool
CanUseDeprecatedAudioApi(const Extension* extension) {
On 2017/02/22 14:13:14, Devlin wrote:
> Add a TODO to remove this, preferably with a concrete date.
Done.
I've pinged mnilsson about a reasonable time frame for removing this, and will
update the comment with the response.
https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api...
extensions/browser/api/audio/audio_api.cc:133: return RespondNow(Error("Not
allowed."));
On 2017/02/22 14:13:14, Devlin wrote:
> Should this be a little more detailed? E.g. "audio.getInfo is deprecated, use
> ... instead"
Done.
https://codereview.chromium.org/2688773002/diff/120001/extensions/common/api/...
File extensions/common/api/audio.idl (right):
https://codereview.chromium.org/2688773002/diff/120001/extensions/common/api/...
extensions/common/api/audio.idl:213: // event will not work for apps that are
not part of that white-list.</p>
On 2017/02/22 14:13:14, Devlin wrote:
> On 2017/02/22 00:38:37, tbarzic wrote:
> > On 2017/02/22 00:31:43, Devlin wrote:
> > > Why this difference instead of the nodocs we have above?
> >
> > Main reason is that there will be a clear error message when there is
attempt
> to
> > use the methods - if the event is used it will fail silently (so it seemed
> > reasonable to document this).
>
> If this is only for whitelisted properties, can we just let them know? It's
> important that we don't brick them, but I don't know if we need to add public
> documentation for them. In-development APIs are meant to change. :)
OK, nodocing this.
https://codereview.chromium.org/2688773002/diff/120001/extensions/test/data/a...
File extensions/test/data/api_test/audio/test.js (left):
https://codereview.chromium.org/2688773002/diff/120001/extensions/test/data/a...
extensions/test/data/api_test/audio/test.js:322: function
deprecatedSetActiveDevicesTest() {
On 2017/02/22 14:13:14, Devlin wrote:
> These were all just cut-and-pasted, right?
yes, to audio/deprecated_api/test.js
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
largely lg, but I'd like a definitive time frame for removing the deprecated
function handling before submitting.
jennyz
lgtm
3 years, 9 months ago
(2017-03-01 01:10:46 UTC)
#12
3 years, 9 months ago
(2017-03-01 17:36:24 UTC)
#13
https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api...
File extensions/browser/api/audio/audio_api.cc (right):
https://codereview.chromium.org/2688773002/diff/120001/extensions/browser/api...
extensions/browser/api/audio/audio_api.cc:23: bool
CanUseDeprecatedAudioApi(const Extension* extension) {
On 2017/02/22 19:35:18, tbarzic wrote:
> On 2017/02/22 14:13:14, Devlin wrote:
> > Add a TODO to remove this, preferably with a concrete date.
>
> Done.
>
> I've pinged mnilsson about a reasonable time frame for removing this, and will
> update the comment with the response.
I've added a comment to target removal of this for M-60
Devlin
lgtm
3 years, 9 months ago
(2017-03-02 01:46:22 UTC)
#14
lgtm
tbarzic
The CQ bit was checked by tbarzic@chromium.org
3 years, 9 months ago
(2017-03-02 01:47:46 UTC)
#15
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
CQ is committing da patch. Bot data: {"patchset_id": 180001, "attempt_start_ts": 1488434013250870, "parent_rev": "f88569b6a113509e7e7245ca297221701d07d4a3", "commit_rev": "7c6ba299357a5780218eb7a7fd00a35b9cbecc96"}
3 years, 9 months ago
(2017-03-02 07:38:20 UTC)
#22
CQ is committing da patch.
Bot data: {"patchset_id": 180001, "attempt_start_ts": 1488434013250870,
"parent_rev": "f88569b6a113509e7e7245ca297221701d07d4a3", "commit_rev":
"7c6ba299357a5780218eb7a7fd00a35b9cbecc96"}
commit-bot: I haz the power
Description was changed from ========== Restrict deprecated parts of audio API usage to whitelisted apps ...
3 years, 9 months ago
(2017-03-02 07:39:02 UTC)
#23
Message was sent while issue was closed.
Description was changed from
==========
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
==========
to
==========
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/+/7c6ba299357a5780218eb7a7fd00...
==========
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/chromium/src/+/7c6ba299357a5780218eb7a7fd00a35b9cbecc96
3 years, 9 months ago
(2017-03-02 07:39:03 UTC)
#24
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
Reviewers: jennyz, Devlin, Rahul Chaturvedi, mnilsson
Base URL:
Comments: 12