| 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 "base/basictypes.h" | 7 #include <stddef.h> |
| 8 |
| 8 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 9 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| 10 #include "base/json/json_reader.h" | 11 #include "base/json/json_reader.h" |
| 11 #include "base/json/json_writer.h" | 12 #include "base/json/json_writer.h" |
| 12 #include "base/logging.h" | 13 #include "base/logging.h" |
| 13 #include "base/macros.h" | 14 #include "base/macros.h" |
| 14 #include "base/thread_task_runner_handle.h" | 15 #include "base/thread_task_runner_handle.h" |
| 15 #include "base/values.h" | 16 #include "base/values.h" |
| 16 #include "base/win/scoped_bstr.h" | 17 #include "base/win/scoped_bstr.h" |
| 17 #include "base/win/windows_version.h" | 18 #include "base/win/windows_version.h" |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 InvokeCompletionCallback(done, StartDaemon()); | 467 InvokeCompletionCallback(done, StartDaemon()); |
| 467 } | 468 } |
| 468 | 469 |
| 469 scoped_refptr<DaemonController> DaemonController::Create() { | 470 scoped_refptr<DaemonController> DaemonController::Create() { |
| 470 scoped_ptr<DaemonController::Delegate> delegate( | 471 scoped_ptr<DaemonController::Delegate> delegate( |
| 471 new DaemonControllerDelegateWin()); | 472 new DaemonControllerDelegateWin()); |
| 472 return new DaemonController(delegate.Pass()); | 473 return new DaemonController(delegate.Pass()); |
| 473 } | 474 } |
| 474 | 475 |
| 475 } // namespace remoting | 476 } // namespace remoting |
| OLD | NEW |