Index: remoting/test/app_remoting_connection_helper.cc |
diff --git a/remoting/test/app_remoting_connection_helper.cc b/remoting/test/app_remoting_connection_helper.cc |
index 83b92caa7cc19a90bd0d7c3a22673393392c4f04..d8918bf2ca7b3d521cb2039578368a8c871c1d97 100644 |
--- a/remoting/test/app_remoting_connection_helper.cc |
+++ b/remoting/test/app_remoting_connection_helper.cc |
@@ -13,6 +13,7 @@ |
#include "base/values.h" |
#include "remoting/protocol/host_stub.h" |
#include "remoting/test/app_remoting_test_driver_environment.h" |
+#include "remoting/test/connection_info.h" |
#include "remoting/test/remote_application_details.h" |
#include "remoting/test/test_chromoting_client.h" |
@@ -77,9 +78,9 @@ bool AppRemotingConnectionHelper::StartConnection() { |
timer_->Start(FROM_HERE, base::TimeDelta::FromSeconds(30), |
run_loop_->QuitClosure()); |
- client_->StartConnection(AppRemotingSharedData->user_name(), |
- AppRemotingSharedData->access_token(), |
- remote_host_info); |
+ client_->StartConnection(remote_host_info.GenerateConnectionInfo( |
+ AppRemotingSharedData->access_token(), |
+ AppRemotingSharedData->user_name())); |
run_loop_->Run(); |
timer_->Stop(); |