Index: remoting/client/plugin/chromoting_instance.cc |
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc |
index 54c6a6102d7b33bc790948ce21aff2953c219793..3543f8d889fa3d26eba4c1dc16df1017c08dcda9 100644 |
--- a/remoting/client/plugin/chromoting_instance.cc |
+++ b/remoting/client/plugin/chromoting_instance.cc |
@@ -645,6 +645,10 @@ void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) { |
experiments_list.end()) { |
config->set_vp9_experiment_enabled(true); |
} |
+ if (std::find(experiments_list.begin(), experiments_list.end(), "quic") != |
+ experiments_list.end()) { |
+ config->PreferTransport(protocol::ChannelConfig::TRANSPORT_QUIC_STREAM); |
+ } |
client_->set_protocol_config(config.Pass()); |
// Kick off the connection. |