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

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

Issue 112353002: Move remoting::GetUsername() from remoting/base to remoting/host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « remoting/host/pam_authorization_factory_posix.cc ('k') | remoting/host/username.h » ('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 // 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 18 matching lines...) Expand all
29 #include "media/base/media.h" 29 #include "media/base/media.h"
30 #include "net/base/network_change_notifier.h" 30 #include "net/base/network_change_notifier.h"
31 #include "net/socket/client_socket_factory.h" 31 #include "net/socket/client_socket_factory.h"
32 #include "net/socket/ssl_server_socket.h" 32 #include "net/socket/ssl_server_socket.h"
33 #include "net/url_request/url_fetcher.h" 33 #include "net/url_request/url_fetcher.h"
34 #include "remoting/base/auto_thread_task_runner.h" 34 #include "remoting/base/auto_thread_task_runner.h"
35 #include "remoting/base/breakpad.h" 35 #include "remoting/base/breakpad.h"
36 #include "remoting/base/constants.h" 36 #include "remoting/base/constants.h"
37 #include "remoting/base/logging.h" 37 #include "remoting/base/logging.h"
38 #include "remoting/base/rsa_key_pair.h" 38 #include "remoting/base/rsa_key_pair.h"
39 #include "remoting/base/util.h"
40 #include "remoting/host/branding.h" 39 #include "remoting/host/branding.h"
41 #include "remoting/host/chromoting_host.h" 40 #include "remoting/host/chromoting_host.h"
42 #include "remoting/host/chromoting_host_context.h" 41 #include "remoting/host/chromoting_host_context.h"
43 #include "remoting/host/chromoting_messages.h" 42 #include "remoting/host/chromoting_messages.h"
44 #include "remoting/host/config_file_watcher.h" 43 #include "remoting/host/config_file_watcher.h"
45 #include "remoting/host/config_watcher.h" 44 #include "remoting/host/config_watcher.h"
46 #include "remoting/host/desktop_environment.h" 45 #include "remoting/host/desktop_environment.h"
47 #include "remoting/host/desktop_session_connector.h" 46 #include "remoting/host/desktop_session_connector.h"
48 #include "remoting/host/dns_blackhole_checker.h" 47 #include "remoting/host/dns_blackhole_checker.h"
49 #include "remoting/host/heartbeat_sender.h" 48 #include "remoting/host/heartbeat_sender.h"
(...skipping 10 matching lines...) Expand all
60 #include "remoting/host/log_to_server.h" 59 #include "remoting/host/log_to_server.h"
61 #include "remoting/host/logging.h" 60 #include "remoting/host/logging.h"
62 #include "remoting/host/me2me_desktop_environment.h" 61 #include "remoting/host/me2me_desktop_environment.h"
63 #include "remoting/host/pairing_registry_delegate.h" 62 #include "remoting/host/pairing_registry_delegate.h"
64 #include "remoting/host/policy_hack/policy_watcher.h" 63 #include "remoting/host/policy_hack/policy_watcher.h"
65 #include "remoting/host/service_urls.h" 64 #include "remoting/host/service_urls.h"
66 #include "remoting/host/session_manager_factory.h" 65 #include "remoting/host/session_manager_factory.h"
67 #include "remoting/host/signaling_connector.h" 66 #include "remoting/host/signaling_connector.h"
68 #include "remoting/host/token_validator_factory_impl.h" 67 #include "remoting/host/token_validator_factory_impl.h"
69 #include "remoting/host/usage_stats_consent.h" 68 #include "remoting/host/usage_stats_consent.h"
69 #include "remoting/host/username.h"
70 #include "remoting/jingle_glue/network_settings.h" 70 #include "remoting/jingle_glue/network_settings.h"
71 #include "remoting/jingle_glue/xmpp_signal_strategy.h" 71 #include "remoting/jingle_glue/xmpp_signal_strategy.h"
72 #include "remoting/protocol/me2me_host_authenticator_factory.h" 72 #include "remoting/protocol/me2me_host_authenticator_factory.h"
73 #include "remoting/protocol/pairing_registry.h" 73 #include "remoting/protocol/pairing_registry.h"
74 74
75 #if defined(OS_POSIX) 75 #if defined(OS_POSIX)
76 #include <signal.h> 76 #include <signal.h>
77 #include <sys/types.h> 77 #include <sys/types.h>
78 #include <unistd.h> 78 #include <unistd.h>
79 #include "base/file_descriptor_posix.h" 79 #include "base/file_descriptor_posix.h"
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 return exit_code; 1176 return exit_code;
1177 } 1177 }
1178 1178
1179 } // namespace remoting 1179 } // namespace remoting
1180 1180
1181 #if !defined(OS_WIN) 1181 #if !defined(OS_WIN)
1182 int main(int argc, char** argv) { 1182 int main(int argc, char** argv) {
1183 return remoting::HostMain(argc, argv); 1183 return remoting::HostMain(argc, argv);
1184 } 1184 }
1185 #endif // !defined(OS_WIN) 1185 #endif // !defined(OS_WIN)
OLDNEW
« no previous file with comments | « remoting/host/pam_authorization_factory_posix.cc ('k') | remoting/host/username.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698