OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "remoting/host/setup/daemon_controller_delegate_linux.h" | 5 #include "remoting/host/setup/daemon_controller_delegate_linux.h" |
6 | 6 |
7 #include <unistd.h> | 7 #include <unistd.h> |
8 | 8 |
9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/environment.h" | 13 #include "base/environment.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
16 #include "base/json/json_writer.h" | 16 #include "base/json/json_writer.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/md5.h" | 18 #include "base/md5.h" |
19 #include "base/memory/ptr_util.h" | 19 #include "base/memory/ptr_util.h" |
20 #include "base/path_service.h" | 20 #include "base/path_service.h" |
21 #include "base/process/launch.h" | 21 #include "base/process/launch.h" |
22 #include "base/process/process.h" | 22 #include "base/process/process.h" |
23 #include "base/strings/string_number_conversions.h" | 23 #include "base/strings/string_number_conversions.h" |
24 #include "base/strings/string_split.h" | 24 #include "base/strings/string_split.h" |
25 #include "base/strings/string_util.h" | 25 #include "base/strings/string_util.h" |
26 #include "base/thread_task_runner_handle.h" | 26 #include "base/threading/thread_task_runner_handle.h" |
27 #include "base/values.h" | 27 #include "base/values.h" |
28 #include "build/build_config.h" | 28 #include "build/build_config.h" |
29 #include "net/base/network_interfaces.h" | 29 #include "net/base/network_interfaces.h" |
30 #include "remoting/host/host_config.h" | 30 #include "remoting/host/host_config.h" |
31 #include "remoting/host/usage_stats_consent.h" | 31 #include "remoting/host/usage_stats_consent.h" |
32 | 32 |
33 namespace remoting { | 33 namespace remoting { |
34 | 34 |
35 namespace { | 35 namespace { |
36 | 36 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 consent.set_by_policy = false; | 229 consent.set_by_policy = false; |
230 return consent; | 230 return consent; |
231 } | 231 } |
232 | 232 |
233 scoped_refptr<DaemonController> DaemonController::Create() { | 233 scoped_refptr<DaemonController> DaemonController::Create() { |
234 return new DaemonController( | 234 return new DaemonController( |
235 base::WrapUnique(new DaemonControllerDelegateLinux())); | 235 base::WrapUnique(new DaemonControllerDelegateLinux())); |
236 } | 236 } |
237 | 237 |
238 } // namespace remoting | 238 } // namespace remoting |
OLD | NEW |