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

Side by Side Diff: remoting/host/chromoting_host.h

Issue 10870071: Renamed Encoder -> VideoEncoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 years, 3 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/codec/video_encoder_vp8_unittest.cc ('k') | remoting/host/chromoting_host.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_HOST_CHROMOTING_HOST_H_ 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_
6 #define REMOTING_HOST_CHROMOTING_HOST_H_ 6 #define REMOTING_HOST_CHROMOTING_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 typedef std::vector<ClientSession*> ClientList; 157 typedef std::vector<ClientSession*> ClientList;
158 158
159 enum State { 159 enum State {
160 kInitial, 160 kInitial,
161 kStarted, 161 kStarted,
162 kStopping, 162 kStopping,
163 kStopped, 163 kStopped,
164 }; 164 };
165 165
166 // Creates encoder for the specified configuration. 166 // Creates encoder for the specified configuration.
167 static Encoder* CreateEncoder(const protocol::SessionConfig& config); 167 static VideoEncoder* CreateVideoEncoder(
168 const protocol::SessionConfig& config);
168 169
169 // Creates an audio encoder for the specified configuration. 170 // Creates an audio encoder for the specified configuration.
170 static scoped_ptr<AudioEncoder> CreateAudioEncoder( 171 static scoped_ptr<AudioEncoder> CreateAudioEncoder(
171 const protocol::SessionConfig& config); 172 const protocol::SessionConfig& config);
172 173
173 virtual ~ChromotingHost(); 174 virtual ~ChromotingHost();
174 175
175 void StopScreenRecorder(); 176 void StopScreenRecorder();
176 void StopAudioScheduler(); 177 void StopAudioScheduler();
177 void OnRecorderStopped(); 178 void OnRecorderStopped();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 230
230 // The maximum duration of any session. 231 // The maximum duration of any session.
231 base::TimeDelta max_session_duration_; 232 base::TimeDelta max_session_duration_;
232 233
233 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 234 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
234 }; 235 };
235 236
236 } // namespace remoting 237 } // namespace remoting
237 238
238 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 239 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « remoting/codec/video_encoder_vp8_unittest.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698