summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/session_config.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-23 22:18:12 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-23 22:18:12 +0000
commitf901a073b8b705393c01f2f99e86d266c95ba4de (patch)
treecb8516a46306b15f53f5952068b0e64e9191466e /remoting/protocol/session_config.h
parentc003320ea12585f044da47de763b637b90e70e0a (diff)
downloadchromium_src-f901a073b8b705393c01f2f99e86d266c95ba4de.zip
chromium_src-f901a073b8b705393c01f2f99e86d266c95ba4de.tar.gz
chromium_src-f901a073b8b705393c01f2f99e86d266c95ba4de.tar.bz2
Use VP8 over PseudoTCP by default.
Added option in simple_host to choose video codec. Removed ugly ifdefs from chromoting_host.cc. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/5298001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/session_config.h')
-rw-r--r--remoting/protocol/session_config.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/remoting/protocol/session_config.h b/remoting/protocol/session_config.h
index 830ab79..81e4238 100644
--- a/remoting/protocol/session_config.h
+++ b/remoting/protocol/session_config.h
@@ -101,22 +101,33 @@ class CandidateSessionConfig {
return control_configs_;
}
+ std::vector<ChannelConfig>* mutable_control_configs() {
+ return &control_configs_;
+ }
+
const std::vector<ChannelConfig>& event_configs() const {
return event_configs_;
}
+ std::vector<ChannelConfig>* mutable_event_configs() {
+ return &event_configs_;
+ }
+
const std::vector<ChannelConfig>& video_configs() const {
return video_configs_;
}
+ std::vector<ChannelConfig>* mutable_video_configs() {
+ return &video_configs_;
+ }
+
const ScreenResolution& initial_resolution() const {
return initial_resolution_;
}
- void AddControlConfig(const ChannelConfig& control_config);
- void AddEventConfig(const ChannelConfig& event_config);
- void AddVideoConfig(const ChannelConfig& video_config);
- void SetInitialResolution(const ScreenResolution& initial_resolution);
+ ScreenResolution* mutable_initial_resolution() {
+ return &initial_resolution_;
+ }
// Selects session configuration that is supported by both participants.
// NULL is returned if such configuration doesn't exist. When selecting