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

Unified Diff: remoting/client/chromoting_client.cc

Issue 2542343004: Updating the Chromoting Test Driver to target the test environment (Closed)
Patch Set: Fixed a swapped test/prod condition Created 4 years 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
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index e2da6ae73579f93e1cc61bb59cdae8683cd8a8c0..617347d02aff183e4d30278c38741658560a8bc6 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -87,7 +87,9 @@ void ChromotingClient::Start(
connection_->set_clipboard_stub(this);
connection_->set_video_renderer(video_renderer_);
- connection_->InitializeAudio(audio_decode_task_runner_, audio_consumer_);
+ if (audio_consumer_) {
Sergey Ulanov 2016/12/02 19:55:44 nit: Please move protocol_config_->DisableAudioCha
+ connection_->InitializeAudio(audio_decode_task_runner_, audio_consumer_);
+ }
session_manager_.reset(new protocol::JingleSessionManager(signal_strategy));
session_manager_->set_protocol_config(std::move(protocol_config_));
« no previous file with comments | « no previous file | remoting/test/access_token_fetcher.cc » ('j') | remoting/test/chromoting_test_driver_environment.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698