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

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
« no previous file with comments | « remoting/protocol/content_description_unittest.cc ('k') | remoting/protocol/session_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/session_config.h
diff --git a/remoting/protocol/session_config.h b/remoting/protocol/session_config.h
index 58d3d78ca89b3aa980bfc207977bc39923b4eb93..5d89d67c50f0db1e107bceefd02b893f704ee6a5 100644
--- a/remoting/protocol/session_config.h
+++ b/remoting/protocol/session_config.h
@@ -36,15 +36,17 @@ struct ChannelConfig {
CODEC_SPEEX,
};
+ // 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;
« no previous file with comments | « remoting/protocol/content_description_unittest.cc ('k') | remoting/protocol/session_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698