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

Side by Side Diff: remoting/host/ipc_desktop_environment.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, 10 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/host_mock_objects.cc ('k') | remoting/host/ipc_desktop_environment.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_IPC_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 30 matching lines...) Expand all
41 const base::Closure& disconnect_callback, 41 const base::Closure& disconnect_callback,
42 base::WeakPtr<DesktopSessionConnector> desktop_session_connector); 42 base::WeakPtr<DesktopSessionConnector> desktop_session_connector);
43 virtual ~IpcDesktopEnvironment(); 43 virtual ~IpcDesktopEnvironment();
44 44
45 // DesktopEnvironment implementation. 45 // DesktopEnvironment implementation.
46 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer( 46 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer(
47 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE; 47 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE;
48 virtual scoped_ptr<EventExecutor> CreateEventExecutor( 48 virtual scoped_ptr<EventExecutor> CreateEventExecutor(
49 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 49 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
50 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE; 50 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE;
51 virtual scoped_ptr<VideoFrameCapturer> CreateVideoCapturer( 51 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer(
52 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, 52 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
53 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE; 53 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE;
54 54
55 private: 55 private:
56 // Binds DesktopSessionProxy to a desktop session if it is not bound already. 56 // Binds DesktopSessionProxy to a desktop session if it is not bound already.
57 void ConnectToDesktopSession(); 57 void ConnectToDesktopSession();
58 58
59 // Task runner on which public methods of this class should be called. 59 // Task runner on which public methods of this class should be called.
60 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; 60 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_;
61 61
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // This gives us more than 67 years of unique IDs assuming a new ID is 120 // This gives us more than 67 years of unique IDs assuming a new ID is
121 // allocated every second. 121 // allocated every second.
122 int next_id_; 122 int next_id_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory); 124 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory);
125 }; 125 };
126 126
127 } // namespace remoting 127 } // namespace remoting
128 128
129 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 129 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/host_mock_objects.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698