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

Side by Side Diff: remoting/host/remoting_me2me_host.cc

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 // This file implements a standalone host process for Me2Me. 5 // This file implements a standalone host process for Me2Me.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 15 matching lines...) Expand all
26 #include "build/build_config.h" 26 #include "build/build_config.h"
27 #include "crypto/nss_util.h" 27 #include "crypto/nss_util.h"
28 #include "ipc/ipc_channel.h" 28 #include "ipc/ipc_channel.h"
29 #include "ipc/ipc_channel_proxy.h" 29 #include "ipc/ipc_channel_proxy.h"
30 #include "ipc/ipc_listener.h" 30 #include "ipc/ipc_listener.h"
31 #include "net/base/network_change_notifier.h" 31 #include "net/base/network_change_notifier.h"
32 #include "net/socket/ssl_server_socket.h" 32 #include "net/socket/ssl_server_socket.h"
33 #include "remoting/base/auto_thread_task_runner.h" 33 #include "remoting/base/auto_thread_task_runner.h"
34 #include "remoting/base/breakpad.h" 34 #include "remoting/base/breakpad.h"
35 #include "remoting/base/constants.h" 35 #include "remoting/base/constants.h"
36 #include "remoting/capturer/video_frame_capturer.h"
36 #include "remoting/host/branding.h" 37 #include "remoting/host/branding.h"
37 #include "remoting/host/chromoting_host.h" 38 #include "remoting/host/chromoting_host.h"
38 #include "remoting/host/chromoting_host_context.h" 39 #include "remoting/host/chromoting_host_context.h"
39 #include "remoting/host/chromoting_messages.h" 40 #include "remoting/host/chromoting_messages.h"
40 #include "remoting/host/config_file_watcher.h" 41 #include "remoting/host/config_file_watcher.h"
41 #include "remoting/host/curtain_mode.h" 42 #include "remoting/host/curtain_mode.h"
42 #include "remoting/host/curtaining_host_observer.h" 43 #include "remoting/host/curtaining_host_observer.h"
43 #include "remoting/host/desktop_environment_factory.h" 44 #include "remoting/host/desktop_environment_factory.h"
44 #include "remoting/host/desktop_resizer.h" 45 #include "remoting/host/desktop_resizer.h"
45 #include "remoting/host/desktop_session_connector.h" 46 #include "remoting/host/desktop_session_connector.h"
46 #include "remoting/host/dns_blackhole_checker.h" 47 #include "remoting/host/dns_blackhole_checker.h"
47 #include "remoting/host/event_executor.h" 48 #include "remoting/host/event_executor.h"
48 #include "remoting/host/heartbeat_sender.h" 49 #include "remoting/host/heartbeat_sender.h"
49 #include "remoting/host/host_config.h" 50 #include "remoting/host/host_config.h"
50 #include "remoting/host/host_event_logger.h" 51 #include "remoting/host/host_event_logger.h"
51 #include "remoting/host/host_exit_codes.h" 52 #include "remoting/host/host_exit_codes.h"
52 #include "remoting/host/host_status_service.h" 53 #include "remoting/host/host_status_service.h"
53 #include "remoting/host/host_user_interface.h" 54 #include "remoting/host/host_user_interface.h"
54 #include "remoting/host/ipc_constants.h" 55 #include "remoting/host/ipc_constants.h"
55 #include "remoting/host/ipc_desktop_environment_factory.h" 56 #include "remoting/host/ipc_desktop_environment_factory.h"
56 #include "remoting/host/json_host_config.h" 57 #include "remoting/host/json_host_config.h"
58 #include "remoting/host/log_to_server.h"
57 #include "remoting/host/logging.h" 59 #include "remoting/host/logging.h"
58 #include "remoting/host/log_to_server.h"
59 #include "remoting/host/network_settings.h" 60 #include "remoting/host/network_settings.h"
60 #include "remoting/host/policy_hack/policy_watcher.h" 61 #include "remoting/host/policy_hack/policy_watcher.h"
61 #include "remoting/host/resizing_host_observer.h" 62 #include "remoting/host/resizing_host_observer.h"
62 #include "remoting/host/session_manager_factory.h" 63 #include "remoting/host/session_manager_factory.h"
63 #include "remoting/host/signaling_connector.h" 64 #include "remoting/host/signaling_connector.h"
64 #include "remoting/host/usage_stats_consent.h" 65 #include "remoting/host/usage_stats_consent.h"
65 #include "remoting/host/video_frame_capturer.h"
66 #include "remoting/jingle_glue/xmpp_signal_strategy.h" 66 #include "remoting/jingle_glue/xmpp_signal_strategy.h"
67 #include "remoting/protocol/me2me_host_authenticator_factory.h" 67 #include "remoting/protocol/me2me_host_authenticator_factory.h"
68 68
69 #if defined(OS_POSIX) 69 #if defined(OS_POSIX)
70 #include <pwd.h> 70 #include <pwd.h>
71 #include <signal.h> 71 #include <signal.h>
72 #include "base/file_descriptor_posix.h" 72 #include "base/file_descriptor_posix.h"
73 #include "remoting/host/pam_authorization_factory_posix.h" 73 #include "remoting/host/pam_authorization_factory_posix.h"
74 #include "remoting/host/posix/signal_handler.h" 74 #include "remoting/host/posix/signal_handler.h"
75 #endif // defined(OS_POSIX) 75 #endif // defined(OS_POSIX)
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 user32.GetFunctionPointer("SetProcessDPIAware")); 1155 user32.GetFunctionPointer("SetProcessDPIAware"));
1156 set_process_dpi_aware(); 1156 set_process_dpi_aware();
1157 } 1157 }
1158 1158
1159 // CommandLine::Init() ignores the passed |argc| and |argv| on Windows getting 1159 // CommandLine::Init() ignores the passed |argc| and |argv| on Windows getting
1160 // the command line from GetCommandLineW(), so we can safely pass NULL here. 1160 // the command line from GetCommandLineW(), so we can safely pass NULL here.
1161 return main(0, NULL); 1161 return main(0, NULL);
1162 } 1162 }
1163 1163
1164 #endif // defined(OS_WIN) 1164 #endif // defined(OS_WIN)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698