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

Side by Side Diff: remoting/test/it2me_standalone_host.cc

Issue 2254673002: Remove dependency on AudioStub in ConnectionToClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« remoting/protocol/ice_connection_to_client.cc ('K') | « remoting/remoting_srcs.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698