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

Unified Diff: remoting/protocol/data_channel_manager.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/data_channel_manager.h ('k') | remoting/test/it2me_standalone_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/data_channel_manager.cc
diff --git a/remoting/protocol/data_channel_manager.cc b/remoting/protocol/data_channel_manager.cc
index c8f0782f38dafcef4d286a3b5bc5ed3d331bf49c..aa2914ed5ce4849f479a49ca0dfcbeccf00e74ab 100644
--- a/remoting/protocol/data_channel_manager.cc
+++ b/remoting/protocol/data_channel_manager.cc
@@ -20,7 +20,7 @@ void DataChannelManager::RegisterCreateHandlerCallback(
CreateHandlerCallback constructor) {
DCHECK(!prefix.empty());
DCHECK(constructor);
- constructors_.push_back(std::make_pair(prefix, constructor));
+ constructors_.push_back(std::make_pair(prefix, std::move(constructor)));
}
bool DataChannelManager::OnIncomingDataChannel(
« no previous file with comments | « remoting/protocol/data_channel_manager.h ('k') | remoting/test/it2me_standalone_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698