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

Unified Diff: remoting/protocol/data_channel_manager.h

Issue 2967793002: [Chromoting] Remove DataChannelManagerCallbacks constructor parameter of ClientSession (Closed)
Patch Set: Created 3 years, 6 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
Index: remoting/protocol/data_channel_manager.h
diff --git a/remoting/protocol/data_channel_manager.h b/remoting/protocol/data_channel_manager.h
index dfe3a0838c87e108cd7893f959656d171c1dccdc..32b0198b936347d9014800024b132bc59cce7a89 100644
--- a/remoting/protocol/data_channel_manager.h
+++ b/remoting/protocol/data_channel_manager.h
@@ -24,8 +24,6 @@ class DataChannelManager final {
const std::string& name,
std::unique_ptr<MessagePipe> pipe)>;
- using NameCallbackPair = std::pair<std::string, CreateHandlerCallback>;
-
DataChannelManager();
~DataChannelManager();
@@ -40,7 +38,7 @@ class DataChannelManager final {
std::unique_ptr<MessagePipe> pipe);
private:
- std::vector<NameCallbackPair> constructors_;
+ std::vector<std::pair<std::string, CreateHandlerCallback>> constructors_;
};
} // namespace protocol

Powered by Google App Engine
This is Rietveld 408576698