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

Unified Diff: remoting/protocol/webrtc_audio_sink_adapter.h

Issue 2653563004: Revert 25680c62320767f590d037d301edfe15e9c55650 (Closed)
Patch Set: . Created 3 years, 11 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 | « remoting/protocol/webrtc_audio_module.cc ('k') | remoting/protocol/webrtc_audio_sink_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_audio_sink_adapter.h
diff --git a/remoting/protocol/webrtc_audio_sink_adapter.h b/remoting/protocol/webrtc_audio_sink_adapter.h
index aab3f714e3b4404ff4ed9523b11eff2c2b0a2aa7..4f4969a1809f61c77142efcd51fdeb962216fb3c 100644
--- a/remoting/protocol/webrtc_audio_sink_adapter.h
+++ b/remoting/protocol/webrtc_audio_sink_adapter.h
@@ -7,13 +7,8 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "base/threading/thread_task_runner_handle.h"
#include "third_party/webrtc/api/mediastreaminterface.h"
-namespace base {
-class SingleThreadTaskRunner;
-} // namespace base
-
namespace remoting {
namespace protocol {
@@ -32,10 +27,10 @@ class WebrtcAudioSinkAdapter : public webrtc::AudioTrackSinkInterface {
size_t number_of_frames) override;
private:
- scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- base::WeakPtr<AudioStub> audio_stub_;
scoped_refptr<webrtc::MediaStreamInterface> media_stream_;
scoped_refptr<webrtc::AudioTrackInterface> audio_track_;
+
+ base::WeakPtr<AudioStub> audio_stub_;
};
} // namespace protocol
« no previous file with comments | « remoting/protocol/webrtc_audio_module.cc ('k') | remoting/protocol/webrtc_audio_sink_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698