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

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

Issue 12047101: Move screen capturers from remoting/capturer to media/video/capturer/screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
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 28 matching lines...) Expand all
39 // A class to implement the functionality of a host process. 39 // A class to implement the functionality of a host process.
40 // 40 //
41 // Here's the work flow of this class: 41 // Here's the work flow of this class:
42 // 1. We should load the saved GAIA ID token or if this is the first 42 // 1. We should load the saved GAIA ID token or if this is the first
43 // time the host process runs we should prompt user for the 43 // time the host process runs we should prompt user for the
44 // credential. We will use this token or credentials to authenicate 44 // credential. We will use this token or credentials to authenicate
45 // and register the host. 45 // and register the host.
46 // 46 //
47 // 2. We listen for incoming connection using libjingle. We will create 47 // 2. We listen for incoming connection using libjingle. We will create
48 // a ConnectionToClient object that wraps around linjingle for transport. 48 // a ConnectionToClient object that wraps around linjingle for transport.
49 // A ScreenRecorder is created with an Encoder and a VideoFrameCapturer. 49 // A ScreenRecorder is created with an Encoder and a media::ScreenCapturer.
Wez 2013/01/25 00:51:21 nit: ScreenRecorder -> VideoScheduler here and bel
Sergey Ulanov 2013/01/25 02:33:45 Done.
50 // A ConnectionToClient is added to the ScreenRecorder for transporting 50 // A ConnectionToClient is added to the ScreenRecorder for transporting
51 // the screen captures. An InputStub is created and registered with the 51 // the screen captures. An InputStub is created and registered with the
52 // ConnectionToClient to receive mouse / keyboard events from the remote 52 // ConnectionToClient to receive mouse / keyboard events from the remote
53 // client. 53 // client.
54 // After we have done all the initialization we'll start the ScreenRecorder. 54 // After we have done all the initialization we'll start the ScreenRecorder.
55 // We'll then enter the running state of the host process. 55 // We'll then enter the running state of the host process.
56 // 56 //
57 // 3. When the user is disconnected, we will pause the ScreenRecorder 57 // 3. When the user is disconnected, we will pause the ScreenRecorder
58 // and try to terminate the threads we have created. This will allow 58 // and try to terminate the threads we have created. This will allow
59 // all pending tasks to complete. After all of that completed we 59 // all pending tasks to complete. After all of that completed we
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 // The maximum duration of any session. 210 // The maximum duration of any session.
211 base::TimeDelta max_session_duration_; 211 base::TimeDelta max_session_duration_;
212 212
213 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 213 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
214 }; 214 };
215 215
216 } // namespace remoting 216 } // namespace remoting
217 217
218 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 218 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698