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

Side by Side Diff: remoting/protocol/session_config.h

Issue 13932020: Set the initial resolution of an RDP session to the client screen resolution if it is available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Clang Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/protocol/session_config.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_SESSION_CONFIG_H_ 5 #ifndef REMOTING_PROTOCOL_SESSION_CONFIG_H_
6 #define REMOTING_PROTOCOL_SESSION_CONFIG_H_ 6 #define REMOTING_PROTOCOL_SESSION_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const ChannelConfig& video_config() const { return video_config_; } 75 const ChannelConfig& video_config() const { return video_config_; }
76 void set_audio_config(const ChannelConfig& audio_config) { 76 void set_audio_config(const ChannelConfig& audio_config) {
77 audio_config_ = audio_config; 77 audio_config_ = audio_config;
78 } 78 }
79 const ChannelConfig& audio_config() const { return audio_config_; } 79 const ChannelConfig& audio_config() const { return audio_config_; }
80 80
81 bool is_audio_enabled() const { 81 bool is_audio_enabled() const {
82 return audio_config_.transport != ChannelConfig::TRANSPORT_NONE; 82 return audio_config_.transport != ChannelConfig::TRANSPORT_NONE;
83 } 83 }
84 84
85 // Returns true if the control channel supports capabilities.
86 bool SupportsCapabilities() const;
87
85 // Returns a suitable session configuration for use in tests. 88 // Returns a suitable session configuration for use in tests.
86 static SessionConfig ForTest(); 89 static SessionConfig ForTest();
87 90
88 private: 91 private:
89 ChannelConfig control_config_; 92 ChannelConfig control_config_;
90 ChannelConfig event_config_; 93 ChannelConfig event_config_;
91 ChannelConfig video_config_; 94 ChannelConfig video_config_;
92 ChannelConfig audio_config_; 95 ChannelConfig audio_config_;
93 }; 96 };
94 97
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 std::vector<ChannelConfig> control_configs_; 175 std::vector<ChannelConfig> control_configs_;
173 std::vector<ChannelConfig> event_configs_; 176 std::vector<ChannelConfig> event_configs_;
174 std::vector<ChannelConfig> video_configs_; 177 std::vector<ChannelConfig> video_configs_;
175 std::vector<ChannelConfig> audio_configs_; 178 std::vector<ChannelConfig> audio_configs_;
176 }; 179 };
177 180
178 } // namespace protocol 181 } // namespace protocol
179 } // namespace remoting 182 } // namespace remoting
180 183
181 #endif // REMOTING_PROTOCOL_SESSION_CONFIG_H_ 184 #endif // REMOTING_PROTOCOL_SESSION_CONFIG_H_
OLDNEW
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | remoting/protocol/session_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698