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/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/environment.h" | 14 #include "base/environment.h" |
15 #include "base/file_util.h" | |
16 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/files/file_util.h" |
17 #include "base/json/json_writer.h" | 17 #include "base/json/json_writer.h" |
18 #include "base/logging.h" | 18 #include "base/logging.h" |
19 #include "base/md5.h" | 19 #include "base/md5.h" |
20 #include "base/path_service.h" | 20 #include "base/path_service.h" |
21 #include "base/process/kill.h" | 21 #include "base/process/kill.h" |
22 #include "base/process/launch.h" | 22 #include "base/process/launch.h" |
23 #include "base/process/process_handle.h" | 23 #include "base/process/process_handle.h" |
24 #include "base/strings/string_number_conversions.h" | 24 #include "base/strings/string_number_conversions.h" |
25 #include "base/strings/string_split.h" | 25 #include "base/strings/string_split.h" |
26 #include "base/strings/string_util.h" | 26 #include "base/strings/string_util.h" |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 return consent; | 324 return consent; |
325 } | 325 } |
326 | 326 |
327 scoped_refptr<DaemonController> DaemonController::Create() { | 327 scoped_refptr<DaemonController> DaemonController::Create() { |
328 scoped_ptr<DaemonController::Delegate> delegate( | 328 scoped_ptr<DaemonController::Delegate> delegate( |
329 new DaemonControllerDelegateLinux()); | 329 new DaemonControllerDelegateLinux()); |
330 return new DaemonController(delegate.Pass()); | 330 return new DaemonController(delegate.Pass()); |
331 } | 331 } |
332 | 332 |
333 } // namespace remoting | 333 } // namespace remoting |
OLD | NEW |