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

Issue 1990803004: Turned AudioDecoderFactory into a RefCounted thing to use with scoped_refptr. (Closed)

Created:
4 years, 7 months ago by ossu
Modified:
4 years, 6 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Turned AudioDecoderFactory into a RefCounted thing to use with scoped_refptr. First step of AudioDecoderFactory injection CLs. AudioDecoderFactories will be shared, and shared_ptr is currently off the table, so this CL changes the current uses of AudioDecoderFactory from std::unique_ptr to rtc::scoped_refptr. BUG=webrtc:5805 Committed: https://crrev.com/e725f7c73e68fe3dfcf6b953863ff651e0687d3e Cr-Commit-Position: refs/heads/master@{#12815}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Hamburger time! Removed implementation of RefCountInterface from AudioDecoderFactory. #

Patch Set 3 : Removed AudioDecoderFactory destructor declaration. #

Messages

Total messages: 25 (11 generated)
ossu
I decided to turn my set of changes on its head and introduce the last ...
4 years, 7 months ago (2016-05-18 11:59:56 UTC) #3
kwiberg-webrtc
https://codereview.webrtc.org/1990803004/diff/1/webrtc/modules/audio_coding/codecs/audio_decoder_factory.h File webrtc/modules/audio_coding/codecs/audio_decoder_factory.h (right): https://codereview.webrtc.org/1990803004/diff/1/webrtc/modules/audio_coding/codecs/audio_decoder_factory.h#newcode35 webrtc/modules/audio_coding/codecs/audio_decoder_factory.h:35: int AddRef() const override { On 2016/05/18 11:59:56, ossu ...
4 years, 7 months ago (2016-05-18 14:03:15 UTC) #4
ossu
Some moaning on the general state of things... I guess I'll look at hamburger inheritance ...
4 years, 7 months ago (2016-05-18 14:42:21 UTC) #5
ossu
Removed the implementation in AudioDecoderFactory and started relying on RefCountedObject<T> instead. It's not too horrible! ...
4 years, 7 months ago (2016-05-18 15:16:52 UTC) #6
kwiberg-webrtc
lgtm https://codereview.webrtc.org/1990803004/diff/1/webrtc/modules/audio_coding/codecs/audio_decoder_factory.h File webrtc/modules/audio_coding/codecs/audio_decoder_factory.h (right): https://codereview.webrtc.org/1990803004/diff/1/webrtc/modules/audio_coding/codecs/audio_decoder_factory.h#newcode35 webrtc/modules/audio_coding/codecs/audio_decoder_factory.h:35: int AddRef() const override { On 2016/05/18 14:42:20, ...
4 years, 7 months ago (2016-05-18 15:48:27 UTC) #7
ossu
As a side-note, should this set of CLs reference webrtc:5805 instead of webrtc:5801? The ACM ...
4 years, 7 months ago (2016-05-18 16:54:44 UTC) #8
kwiberg-webrtc
On 2016/05/18 16:54:44, ossu wrote: > As a side-note, should this set of CLs reference ...
4 years, 7 months ago (2016-05-19 11:36:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990803004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990803004/20001
4 years, 7 months ago (2016-05-19 12:08:43 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_gn_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_gn_dbg/builds/3275)
4 years, 7 months ago (2016-05-19 12:13:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990803004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990803004/40001
4 years, 7 months ago (2016-05-19 13:42:25 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-19 15:42:55 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990803004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990803004/40001
4 years, 7 months ago (2016-05-19 16:09:26 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-19 17:48:10 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 17:48:18 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e725f7c73e68fe3dfcf6b953863ff651e0687d3e
Cr-Commit-Position: refs/heads/master@{#12815}

Powered by Google App Engine
This is Rietveld 408576698