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" | |
11 #include "base/bind.h" | 10 #include "base/bind.h" |
12 #include "base/command_line.h" | 11 #include "base/command_line.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/environment.h" | 13 #include "base/environment.h" |
15 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
16 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
17 #include "base/json/json_writer.h" | 16 #include "base/json/json_writer.h" |
18 #include "base/logging.h" | 17 #include "base/logging.h" |
19 #include "base/md5.h" | 18 #include "base/md5.h" |
20 #include "base/path_service.h" | 19 #include "base/path_service.h" |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 return consent; | 228 return consent; |
230 } | 229 } |
231 | 230 |
232 scoped_refptr<DaemonController> DaemonController::Create() { | 231 scoped_refptr<DaemonController> DaemonController::Create() { |
233 scoped_ptr<DaemonController::Delegate> delegate( | 232 scoped_ptr<DaemonController::Delegate> delegate( |
234 new DaemonControllerDelegateLinux()); | 233 new DaemonControllerDelegateLinux()); |
235 return new DaemonController(delegate.Pass()); | 234 return new DaemonController(delegate.Pass()); |
236 } | 235 } |
237 | 236 |
238 } // namespace remoting | 237 } // namespace remoting |
OLD | NEW |