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 <CoreFoundation/CoreFoundation.h> | 5 #include <CoreFoundation/CoreFoundation.h> |
6 | 6 |
7 #include "remoting/host/setup/daemon_controller_delegate_mac.h" | 7 #include "remoting/host/setup/daemon_controller_delegate_mac.h" |
8 | 8 |
9 #include <launch.h> | 9 #include <launch.h> |
10 #include <stdio.h> | 10 #include <stdio.h> |
11 #include <sys/types.h> | 11 #include <sys/types.h> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
16 #include "base/file_util.h" | |
17 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| 17 #include "base/files/file_util.h" |
18 #include "base/json/json_writer.h" | 18 #include "base/json/json_writer.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/mac/foundation_util.h" | 20 #include "base/mac/foundation_util.h" |
21 #include "base/mac/launchd.h" | 21 #include "base/mac/launchd.h" |
22 #include "base/mac/mac_logging.h" | 22 #include "base/mac/mac_logging.h" |
23 #include "base/mac/mac_util.h" | 23 #include "base/mac/mac_util.h" |
24 #include "base/mac/scoped_launch_data.h" | 24 #include "base/mac/scoped_launch_data.h" |
25 #include "base/time/time.h" | 25 #include "base/time/time.h" |
26 #include "base/values.h" | 26 #include "base/values.h" |
27 #include "remoting/host/constants_mac.h" | 27 #include "remoting/host/constants_mac.h" |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 self->PreferencePaneCallbackDelegate(name); | 291 self->PreferencePaneCallbackDelegate(name); |
292 } | 292 } |
293 | 293 |
294 scoped_refptr<DaemonController> DaemonController::Create() { | 294 scoped_refptr<DaemonController> DaemonController::Create() { |
295 scoped_ptr<DaemonController::Delegate> delegate( | 295 scoped_ptr<DaemonController::Delegate> delegate( |
296 new DaemonControllerDelegateMac()); | 296 new DaemonControllerDelegateMac()); |
297 return new DaemonController(delegate.Pass()); | 297 return new DaemonController(delegate.Pass()); |
298 } | 298 } |
299 | 299 |
300 } // namespace remoting | 300 } // namespace remoting |
OLD | NEW |