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

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

Issue 15692018: Remove screen capturers from media/video/capture/screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/host/basic_desktop_environment.cc ('k') | remoting/host/chromoting_host_unittest.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 <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 30 matching lines...) Expand all
41 // A class to implement the functionality of a host process. 41 // A class to implement the functionality of a host process.
42 // 42 //
43 // Here's the work flow of this class: 43 // Here's the work flow of this class:
44 // 1. We should load the saved GAIA ID token or if this is the first 44 // 1. We should load the saved GAIA ID token or if this is the first
45 // time the host process runs we should prompt user for the 45 // time the host process runs we should prompt user for the
46 // credential. We will use this token or credentials to authenicate 46 // credential. We will use this token or credentials to authenicate
47 // and register the host. 47 // and register the host.
48 // 48 //
49 // 2. We listen for incoming connection using libjingle. We will create 49 // 2. We listen for incoming connection using libjingle. We will create
50 // a ConnectionToClient object that wraps around linjingle for transport. 50 // a ConnectionToClient object that wraps around linjingle for transport.
51 // A VideoScheduler is created with an Encoder and a media::ScreenCapturer. 51 // A VideoScheduler is created with an Encoder and a webrtc::ScreenCapturer.
52 // A ConnectionToClient is added to the ScreenRecorder for transporting 52 // A ConnectionToClient is added to the ScreenRecorder for transporting
53 // the screen captures. An InputStub is created and registered with the 53 // the screen captures. An InputStub is created and registered with the
54 // ConnectionToClient to receive mouse / keyboard events from the remote 54 // ConnectionToClient to receive mouse / keyboard events from the remote
55 // client. 55 // client.
56 // After we have done all the initialization we'll start the ScreenRecorder. 56 // After we have done all the initialization we'll start the ScreenRecorder.
57 // We'll then enter the running state of the host process. 57 // We'll then enter the running state of the host process.
58 // 58 //
59 // 3. When the user is disconnected, we will pause the ScreenRecorder 59 // 3. When the user is disconnected, we will pause the ScreenRecorder
60 // and try to terminate the threads we have created. This will allow 60 // and try to terminate the threads we have created. This will allow
61 // all pending tasks to complete. After all of that completed we 61 // all pending tasks to complete. After all of that completed we
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 scoped_refptr<protocol::PairingRegistry> pairing_registry_; 205 scoped_refptr<protocol::PairingRegistry> pairing_registry_;
206 206
207 base::WeakPtrFactory<ChromotingHost> weak_factory_; 207 base::WeakPtrFactory<ChromotingHost> weak_factory_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 209 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
210 }; 210 };
211 211
212 } // namespace remoting 212 } // namespace remoting
213 213
214 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 214 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « remoting/host/basic_desktop_environment.cc ('k') | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698