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

Unified Diff: remoting/protocol/session_config.h

Issue 10834446: Improve handling of NONE transport in channel configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/session_config.h
diff --git a/remoting/protocol/session_config.h b/remoting/protocol/session_config.h
index 4e0a547f1b828ec910c0f006b5398bc33595c245..03afaa479103dd56e7150c042a4ae72fc8d03b14 100644
--- a/remoting/protocol/session_config.h
+++ b/remoting/protocol/session_config.h
@@ -35,15 +35,17 @@ struct ChannelConfig {
CODEC_VORBIS,
};
+ // The constructor that creates a config with transport field set to
+ // TRANSPORT_NONE which indicates that corresponding channel is disabled.
ChannelConfig();
+
+ // Creates a channel config with the specified parameters.
ChannelConfig(TransportType transport, int version, Codec codec);
// operator== is overloaded so that std::find() works with
// std::vector<ChannelConfig>.
bool operator==(const ChannelConfig& b) const;
- void Reset();
-
TransportType transport;
int version;
Codec codec;

Powered by Google App Engine
This is Rietveld 408576698