Index: remoting/client/chromoting_client.cc |
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc |
index 8b25885d970dcf07852e0e2d5b3a0b45d3d39727..a150b67171507aedad2aa657677b406f9f68c0bb 100644 |
--- a/remoting/client/chromoting_client.cc |
+++ b/remoting/client/chromoting_client.cc |
@@ -8,6 +8,7 @@ |
#include "remoting/client/chromoting_view.h" |
#include "remoting/client/client_context.h" |
#include "remoting/client/rectangle_update_decoder.h" |
+#include "remoting/proto/audio.pb.h" |
#include "remoting/protocol/authentication_method.h" |
#include "remoting/protocol/connection_to_host.h" |
#include "remoting/protocol/negotiating_authenticator.h" |
@@ -60,7 +61,7 @@ void ChromotingClient::Start( |
connection_->Connect(xmpp_proxy, config_.local_jid, config_.host_jid, |
config_.host_public_key, transport_factory.Pass(), |
- authenticator.Pass(), this, this, this, this); |
+ authenticator.Pass(), this, this, this, this, this); |
view_->Initialize(); |
} |
@@ -140,6 +141,12 @@ int ChromotingClient::GetPendingPackets() { |
return received_packets_.size(); |
} |
+void ChromotingClient::ProcessAudioPacket(scoped_ptr<AudioPacket> packet, |
+ const base::Closure& done) { |
+ // TODO(kxing): Playback audio. |
+ done.Run(); |
+} |
+ |
void ChromotingClient::DispatchPacket() { |
DCHECK(task_runner_->BelongsToCurrentThread()); |
CHECK(!packet_being_processed_); |