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

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

Issue 1099203005: Revert of Use standard ICE in Chromoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « remoting/test/protocol_perftest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/test_chromoting_client.h" 5 #include "remoting/test/test_chromoting_client.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 protocol::NetworkSettings network_settings( 185 protocol::NetworkSettings network_settings(
186 protocol::NetworkSettings::NAT_TRAVERSAL_FULL); 186 protocol::NetworkSettings::NAT_TRAVERSAL_FULL);
187 187
188 scoped_ptr<protocol::ChromiumPortAllocator> port_allocator( 188 scoped_ptr<protocol::ChromiumPortAllocator> port_allocator(
189 protocol::ChromiumPortAllocator::Create(request_context_getter, 189 protocol::ChromiumPortAllocator::Create(request_context_getter,
190 network_settings)); 190 network_settings));
191 191
192 scoped_ptr<protocol::TransportFactory> transport_factory( 192 scoped_ptr<protocol::TransportFactory> transport_factory(
193 new protocol::LibjingleTransportFactory( 193 new protocol::LibjingleTransportFactory(
194 signal_strategy_.get(), port_allocator.Pass(), network_settings, 194 signal_strategy_.get(), port_allocator.Pass(), network_settings));
195 protocol::TransportRole::CLIENT));
196 195
197 scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher> 196 scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher>
198 token_fetcher(new TokenFetcherProxy( 197 token_fetcher(new TokenFetcherProxy(
199 base::Bind(&FetchThirdPartyToken, remote_host_info.authorization_code, 198 base::Bind(&FetchThirdPartyToken, remote_host_info.authorization_code,
200 remote_host_info.shared_secret), 199 remote_host_info.shared_secret),
201 "FAKE_HOST_PUBLIC_KEY")); 200 "FAKE_HOST_PUBLIC_KEY"));
202 201
203 std::vector<protocol::AuthenticationMethod> auth_methods; 202 std::vector<protocol::AuthenticationMethod> auth_methods;
204 auth_methods.push_back(protocol::AuthenticationMethod::ThirdParty()); 203 auth_methods.push_back(protocol::AuthenticationMethod::ThirdParty());
205 204
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 DVLOG(1) << "TestChromotingClient::InjectClipboardEvent() Called"; 332 DVLOG(1) << "TestChromotingClient::InjectClipboardEvent() Called";
334 } 333 }
335 334
336 void TestChromotingClient::SetCursorShape( 335 void TestChromotingClient::SetCursorShape(
337 const protocol::CursorShapeInfo& cursor_shape) { 336 const protocol::CursorShapeInfo& cursor_shape) {
338 DVLOG(1) << "TestChromotingClient::SetCursorShape() Called"; 337 DVLOG(1) << "TestChromotingClient::SetCursorShape() Called";
339 } 338 }
340 339
341 } // namespace test 340 } // namespace test
342 } // namespace remoting 341 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/protocol_perftest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698