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

Unified Diff: remoting/protocol/session_config.h

Issue 5298001: Use VP8 over PseudoTCP by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed EventExecutor class. Created 10 years, 1 month 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/jingle_session_manager.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 830ab797ee0616e4342a91ba84e3f128baf39a8a..81e4238d11a574b6b53ae5c3bf4801ee1f2f289b 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
« no previous file with comments | « remoting/protocol/jingle_session_manager.cc ('k') | remoting/protocol/session_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698