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

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

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 3 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
« no previous file with comments | « remoting/host/policy_watcher_unittest.cc ('k') | remoting/host/third_party_auth_config.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 // This file implements a standalone host process for Me2Me. 5 // This file implements a standalone host process for Me2Me.
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <cstdint> 9 #include <cstdint>
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/debug/alias.h" 17 #include "base/debug/alias.h"
18 #include "base/files/file_path.h" 18 #include "base/files/file_path.h"
19 #include "base/files/file_util.h" 19 #include "base/files/file_util.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/memory/ptr_util.h" 21 #include "base/memory/ptr_util.h"
22 #include "base/message_loop/message_loop.h" 22 #include "base/message_loop/message_loop.h"
23 #include "base/single_thread_task_runner.h" 23 #include "base/single_thread_task_runner.h"
24 #include "base/strings/string_number_conversions.h" 24 #include "base/strings/string_number_conversions.h"
25 #include "base/strings/string_util.h" 25 #include "base/strings/string_util.h"
26 #include "base/strings/stringize_macros.h" 26 #include "base/strings/stringize_macros.h"
27 #include "base/strings/utf_string_conversions.h" 27 #include "base/strings/utf_string_conversions.h"
28 #include "build/build_config.h" 28 #include "build/build_config.h"
29 #include "components/policy/policy_constants.h"
29 #include "ipc/attachment_broker_unprivileged.h" 30 #include "ipc/attachment_broker_unprivileged.h"
30 #include "ipc/ipc_channel.h" 31 #include "ipc/ipc_channel.h"
31 #include "ipc/ipc_channel_proxy.h" 32 #include "ipc/ipc_channel_proxy.h"
32 #include "ipc/ipc_listener.h" 33 #include "ipc/ipc_listener.h"
33 #include "jingle/glue/thread_wrapper.h" 34 #include "jingle/glue/thread_wrapper.h"
34 #include "net/base/network_change_notifier.h" 35 #include "net/base/network_change_notifier.h"
35 #include "net/base/url_util.h" 36 #include "net/base/url_util.h"
36 #include "net/socket/client_socket_factory.h" 37 #include "net/socket/client_socket_factory.h"
37 #include "net/socket/ssl_server_socket.h" 38 #include "net/socket/ssl_server_socket.h"
38 #include "net/url_request/url_fetcher.h" 39 #include "net/url_request/url_fetcher.h"
39 #include "policy/policy_constants.h"
40 #include "remoting/base/auto_thread_task_runner.h" 40 #include "remoting/base/auto_thread_task_runner.h"
41 #include "remoting/base/breakpad.h" 41 #include "remoting/base/breakpad.h"
42 #include "remoting/base/chromium_url_request.h" 42 #include "remoting/base/chromium_url_request.h"
43 #include "remoting/base/constants.h" 43 #include "remoting/base/constants.h"
44 #include "remoting/base/logging.h" 44 #include "remoting/base/logging.h"
45 #include "remoting/base/rsa_key_pair.h" 45 #include "remoting/base/rsa_key_pair.h"
46 #include "remoting/base/util.h" 46 #include "remoting/base/util.h"
47 #include "remoting/host/branding.h" 47 #include "remoting/host/branding.h"
48 #include "remoting/host/chromoting_host.h" 48 #include "remoting/host/chromoting_host.h"
49 #include "remoting/host/chromoting_host_context.h" 49 #include "remoting/host/chromoting_host_context.h"
(...skipping 1616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1666 base::TimeDelta::FromSeconds(kShutdownTimeoutSeconds)); 1666 base::TimeDelta::FromSeconds(kShutdownTimeoutSeconds));
1667 new HostProcess(std::move(context), &exit_code, &shutdown_watchdog); 1667 new HostProcess(std::move(context), &exit_code, &shutdown_watchdog);
1668 1668
1669 // Run the main (also UI) message loop until the host no longer needs it. 1669 // Run the main (also UI) message loop until the host no longer needs it.
1670 message_loop.Run(); 1670 message_loop.Run();
1671 1671
1672 return exit_code; 1672 return exit_code;
1673 } 1673 }
1674 1674
1675 } // namespace remoting 1675 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/policy_watcher_unittest.cc ('k') | remoting/host/third_party_auth_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698