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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 1277093006: Enable QUIC support in chromoting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_adapters
Patch Set: Created 5 years, 4 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 | « no previous file | remoting/host/host_status_logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | remoting/host/host_status_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698