OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/test/it2me_standalone_host.h" | 5 #include "remoting/test/it2me_standalone_host.h" |
6 | 6 |
7 #include <iostream> | 7 #include <iostream> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 session_.reset(new ClientSession( | 86 session_.reset(new ClientSession( |
87 &handler_, | 87 &handler_, |
88 context_->audio_task_runner(), | 88 context_->audio_task_runner(), |
89 std::unique_ptr<protocol::ConnectionToClient>(&connection_), | 89 std::unique_ptr<protocol::ConnectionToClient>(&connection_), |
90 &factory_, | 90 &factory_, |
91 base::TimeDelta(), | 91 base::TimeDelta(), |
92 scoped_refptr<protocol::PairingRegistry>(), | 92 scoped_refptr<protocol::PairingRegistry>(), |
93 std::vector<HostExtension*>())); | 93 std::vector<HostExtension*>())); |
94 session_->OnConnectionAuthenticated(&connection_); | 94 session_->OnConnectionAuthenticated(&connection_); |
95 session_->OnConnectionChannelsConnected(&connection_); | 95 session_->OnConnectionChannelsConnected(&connection_); |
96 session_->CreateVideoStreams(&connection_); | 96 session_->CreateMediaStreams(&connection_); |
97 } | 97 } |
98 | 98 |
99 } // namespace test | 99 } // namespace test |
100 } // namespace remoting | 100 } // namespace remoting |
OLD | NEW |