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

Unified Diff: modules/audio_coding/include/audio_coding_module.h

Issue 3019543002: Remove various IDs (Closed)
Patch Set: rebase+build error Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/audio_coding/acm2/audio_coding_module_unittest.cc ('k') | modules/audio_coding/test/APITest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/audio_coding/include/audio_coding_module.h
diff --git a/modules/audio_coding/include/audio_coding_module.h b/modules/audio_coding/include/audio_coding_module.h
index 944ad604f5e6e3b562ec2c21b22fee02977f4cd3..2013cd76622e0841796c8c94fe0ed2e1025ed601 100644
--- a/modules/audio_coding/include/audio_coding_module.h
+++ b/modules/audio_coding/include/audio_coding_module.h
@@ -70,7 +70,6 @@ class AudioCodingModule {
Config(const Config&);
~Config();
- int id;
NetEq::Config neteq_config;
Clock* clock;
rtc::scoped_refptr<AudioDecoderFactory> decoder_factory;
@@ -83,8 +82,10 @@ class AudioCodingModule {
// injected into ACM. ACM will take the ownership of the object clock and
// delete it when destroyed.
//
- static AudioCodingModule* Create(int id);
- static AudioCodingModule* Create(int id, Clock* clock);
+ // TODO(solenberg): Remove once downstream projects are updated.
+ RTC_DEPRECATED static AudioCodingModule* Create(int id);
+ static AudioCodingModule* Create();
+ static AudioCodingModule* Create(Clock* clock);
static AudioCodingModule* Create(const Config& config);
virtual ~AudioCodingModule() = default;
« no previous file with comments | « modules/audio_coding/acm2/audio_coding_module_unittest.cc ('k') | modules/audio_coding/test/APITest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698