| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.h" | 5 #include "remoting/host/setup/daemon_controller.h" |
| 6 | 6 |
| 7 #include <unistd.h> | 7 #include <unistd.h> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/environment.h" | 13 #include "base/environment.h" |
| 14 #include "base/file_util.h" | 14 #include "base/file_util.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/json/json_writer.h" | 16 #include "base/json/json_writer.h" |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/md5.h" | 18 #include "base/md5.h" |
| 19 #include "base/process_util.h" | 19 #include "base/process_util.h" |
| 20 #include "base/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
| 21 #include "base/string_util.h" | |
| 22 #include "base/strings/string_split.h" | 21 #include "base/strings/string_split.h" |
| 22 #include "base/strings/string_util.h" |
| 23 #include "base/threading/thread.h" | 23 #include "base/threading/thread.h" |
| 24 #include "base/values.h" | 24 #include "base/values.h" |
| 25 #include "net/base/net_util.h" | 25 #include "net/base/net_util.h" |
| 26 #include "remoting/host/host_config.h" | 26 #include "remoting/host/host_config.h" |
| 27 #include "remoting/host/json_host_config.h" | 27 #include "remoting/host/json_host_config.h" |
| 28 #include "remoting/host/usage_stats_consent.h" | 28 #include "remoting/host/usage_stats_consent.h" |
| 29 | 29 |
| 30 namespace remoting { | 30 namespace remoting { |
| 31 | 31 |
| 32 namespace { | 32 namespace { |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 done_callback.Run(version); | 352 done_callback.Run(version); |
| 353 } | 353 } |
| 354 | 354 |
| 355 } // namespace | 355 } // namespace |
| 356 | 356 |
| 357 scoped_ptr<DaemonController> remoting::DaemonController::Create() { | 357 scoped_ptr<DaemonController> remoting::DaemonController::Create() { |
| 358 return scoped_ptr<DaemonController>(new DaemonControllerLinux()); | 358 return scoped_ptr<DaemonController>(new DaemonControllerLinux()); |
| 359 } | 359 } |
| 360 | 360 |
| 361 } // namespace remoting | 361 } // namespace remoting |
| OLD | NEW |