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

Unified Diff: webrtc/call/audio_send_stream.h

Issue 2987763003: Make ~webrtc::AudioSendStream public, and s/config()/GetConfig(), as well as make public. (Closed)
Patch Set: Discussed offline with Fredrick; implement. Created 3 years, 5 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 | « webrtc/audio/audio_send_stream.cc ('k') | webrtc/call/call.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/audio_send_stream.h
diff --git a/webrtc/call/audio_send_stream.h b/webrtc/call/audio_send_stream.h
index 26729e426cb835613ad61d610a19a9b0bb26f5d0..7e2885682f4cd5c947c6cebc3aad0d49c18dbcc2 100644
--- a/webrtc/call/audio_send_stream.h
+++ b/webrtc/call/audio_send_stream.h
@@ -31,6 +31,8 @@ namespace webrtc {
class AudioSendStream {
public:
+ virtual ~AudioSendStream() = default;
danilchap 2017/07/25 14:42:20 nit: put destructor after child types.
eladalon 2017/07/26 08:43:05 Done.
+
struct Stats {
Stats();
~Stats();
@@ -147,8 +149,7 @@ class AudioSendStream {
virtual Stats GetStats() const = 0;
- protected:
- virtual ~AudioSendStream() {}
+ virtual const webrtc::AudioSendStream::Config& GetConfig() const = 0;
the sun 2017/07/25 21:26:49 nit: try order methods the same in interface.h, im
eladalon 2017/07/26 08:43:05 Done.
};
} // namespace webrtc
« no previous file with comments | « webrtc/audio/audio_send_stream.cc ('k') | webrtc/call/call.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698