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" | |
14 #include "base/bind.h" | 13 #include "base/bind.h" |
15 #include "base/callback_helpers.h" | 14 #include "base/callback_helpers.h" |
16 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
17 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
18 #include "base/files/file_util.h" | 17 #include "base/files/file_util.h" |
19 #include "base/logging.h" | 18 #include "base/logging.h" |
20 #include "base/mac/foundation_util.h" | 19 #include "base/mac/foundation_util.h" |
21 #include "base/mac/launchd.h" | 20 #include "base/mac/launchd.h" |
22 #include "base/mac/mac_logging.h" | 21 #include "base/mac/mac_logging.h" |
23 #include "base/mac/mac_util.h" | 22 #include "base/mac/mac_util.h" |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 self->PreferencePaneCallbackDelegate(name); | 248 self->PreferencePaneCallbackDelegate(name); |
250 } | 249 } |
251 | 250 |
252 scoped_refptr<DaemonController> DaemonController::Create() { | 251 scoped_refptr<DaemonController> DaemonController::Create() { |
253 scoped_ptr<DaemonController::Delegate> delegate( | 252 scoped_ptr<DaemonController::Delegate> delegate( |
254 new DaemonControllerDelegateMac()); | 253 new DaemonControllerDelegateMac()); |
255 return new DaemonController(delegate.Pass()); | 254 return new DaemonController(delegate.Pass()); |
256 } | 255 } |
257 | 256 |
258 } // namespace remoting | 257 } // namespace remoting |
OLD | NEW |