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

Unified Diff: remoting/protocol/fake_connection_to_client.cc

Issue 2254673002: Remove dependency on AudioStub in ConnectionToClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 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 | « remoting/protocol/fake_connection_to_client.h ('k') | remoting/protocol/ice_connection_to_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_connection_to_client.cc
diff --git a/remoting/protocol/fake_connection_to_client.cc b/remoting/protocol/fake_connection_to_client.cc
index 0f1cfc95761cf0828679714714881fb9e7df447f..f395a4c48a73f6abd5964c585e5906c58a104e8c 100644
--- a/remoting/protocol/fake_connection_to_client.cc
+++ b/remoting/protocol/fake_connection_to_client.cc
@@ -7,6 +7,8 @@
#include <utility>
#include "remoting/codec/video_encoder.h"
+#include "remoting/protocol/audio_source.h"
+#include "remoting/protocol/audio_stream.h"
#include "remoting/protocol/session.h"
#include "remoting/protocol/video_frame_pump.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
@@ -62,8 +64,10 @@ std::unique_ptr<VideoStream> FakeConnectionToClient::StartVideoStream(
return std::move(result);
}
-AudioStub* FakeConnectionToClient::audio_stub() {
- return audio_stub_;
+std::unique_ptr<AudioStream> FakeConnectionToClient::StartAudioStream(
+ std::unique_ptr<AudioSource> audio_source) {
+ NOTIMPLEMENTED();
+ return nullptr;
}
ClientStub* FakeConnectionToClient::client_stub() {
« no previous file with comments | « remoting/protocol/fake_connection_to_client.h ('k') | remoting/protocol/ice_connection_to_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698