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_win.h" | 5 #include "remoting/host/setup/daemon_controller_delegate_win.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/json/json_reader.h" | 11 #include "base/json/json_reader.h" |
12 #include "base/json/json_writer.h" | 12 #include "base/json/json_writer.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
16 #include "base/threading/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "base/win/scoped_bstr.h" | 18 #include "base/win/scoped_bstr.h" |
19 #include "base/win/windows_version.h" | |
20 #include "remoting/base/scoped_sc_handle_win.h" | 19 #include "remoting/base/scoped_sc_handle_win.h" |
21 #include "remoting/host/branding.h" | 20 #include "remoting/host/branding.h" |
22 #include "remoting/host/host_config.h" | 21 #include "remoting/host/host_config.h" |
23 #include "remoting/host/usage_stats_consent.h" | 22 #include "remoting/host/usage_stats_consent.h" |
24 #include "remoting/host/win/security_descriptor.h" | 23 #include "remoting/host/win/security_descriptor.h" |
25 | 24 |
26 namespace remoting { | 25 namespace remoting { |
27 | 26 |
28 namespace { | 27 namespace { |
29 | 28 |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 // Start daemon. | 468 // Start daemon. |
470 InvokeCompletionCallback(done, StartDaemon()); | 469 InvokeCompletionCallback(done, StartDaemon()); |
471 } | 470 } |
472 | 471 |
473 scoped_refptr<DaemonController> DaemonController::Create() { | 472 scoped_refptr<DaemonController> DaemonController::Create() { |
474 return new DaemonController( | 473 return new DaemonController( |
475 base::WrapUnique(new DaemonControllerDelegateWin())); | 474 base::WrapUnique(new DaemonControllerDelegateWin())); |
476 } | 475 } |
477 | 476 |
478 } // namespace remoting | 477 } // namespace remoting |
OLD | NEW |