| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/service/service_process_control.h" | 5 #include "chrome/browser/service/service_process_control.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
| 10 #include "base/stl_util-inl.h" | 10 #include "base/stl_util-inl.h" |
| 11 #include "base/thread.h" | 11 #include "base/threading/thread.h" |
| 12 #include "base/thread_restrictions.h" | 12 #include "base/threading/thread_restrictions.h" |
| 13 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
| 14 #include "chrome/browser/browser_thread.h" | 14 #include "chrome/browser/browser_thread.h" |
| 15 #include "chrome/browser/io_thread.h" | 15 #include "chrome/browser/io_thread.h" |
| 16 #include "chrome/browser/upgrade_detector.h" | 16 #include "chrome/browser/upgrade_detector.h" |
| 17 #include "chrome/common/child_process_host.h" | 17 #include "chrome/common/child_process_host.h" |
| 18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
| 19 #include "chrome/common/notification_service.h" | 19 #include "chrome/common/notification_service.h" |
| 20 #include "chrome/common/service_messages.h" | 20 #include "chrome/common/service_messages.h" |
| 21 #include "chrome/common/service_process_util.h" | 21 #include "chrome/common/service_process_util.h" |
| 22 | 22 |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 } | 336 } |
| 337 | 337 |
| 338 bool ServiceProcessControl::GetRemotingHostStatus( | 338 bool ServiceProcessControl::GetRemotingHostStatus( |
| 339 GetRemotingHostStatusCallback* status_callback) { | 339 GetRemotingHostStatusCallback* status_callback) { |
| 340 DCHECK(status_callback); | 340 DCHECK(status_callback); |
| 341 remoting_host_status_callback_.reset(status_callback); | 341 remoting_host_status_callback_.reset(status_callback); |
| 342 return Send(new ServiceMsg_GetRemotingHostInfo); | 342 return Send(new ServiceMsg_GetRemotingHostInfo); |
| 343 } | 343 } |
| 344 | 344 |
| 345 DISABLE_RUNNABLE_METHOD_REFCOUNT(ServiceProcessControl); | 345 DISABLE_RUNNABLE_METHOD_REFCOUNT(ServiceProcessControl); |
| OLD | NEW |