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

Side by Side Diff: remoting/host/chromoting_host.cc

Issue 2967793002: [Chromoting] Remove DataChannelManagerCallbacks constructor parameter of ClientSession (Closed)
Patch Set: Resolve review comments Created 3 years, 5 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 | « no previous file | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/host/chromoting_host.h" 5 #include "remoting/host/chromoting_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <utility> 10 #include <utility>
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 video_encode_task_runner_, audio_task_runner_)); 256 video_encode_task_runner_, audio_task_runner_));
257 } 257 }
258 258
259 // Create a ClientSession object. 259 // Create a ClientSession object.
260 std::vector<HostExtension*> extension_ptrs; 260 std::vector<HostExtension*> extension_ptrs;
261 for (const auto& extension : extensions_) 261 for (const auto& extension : extensions_)
262 extension_ptrs.push_back(extension.get()); 262 extension_ptrs.push_back(extension.get());
263 clients_.push_back(base::MakeUnique<ClientSession>( 263 clients_.push_back(base::MakeUnique<ClientSession>(
264 this, std::move(connection), desktop_environment_factory_, 264 this, std::move(connection), desktop_environment_factory_,
265 desktop_environment_options_, max_session_duration_, pairing_registry_, 265 desktop_environment_options_, max_session_duration_, pairing_registry_,
266 extension_ptrs, 266 extension_ptrs));
267 std::vector<protocol::DataChannelManager::NameCallbackPair>()));
268 } 267 }
269 268
270 } // namespace remoting 269 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698