| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chromeos/dbus/peer_daemon_manager_client.h" | 5 #include "chromeos/dbus/peer_daemon_manager_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
| 15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
| 16 #include "dbus/bus.h" | 16 #include "dbus/bus.h" |
| 17 #include "dbus/message.h" | 17 #include "dbus/message.h" |
| 18 #include "dbus/object_manager.h" | 18 #include "dbus/object_manager.h" |
| 19 #include "dbus/object_proxy.h" | 19 #include "dbus/object_proxy.h" |
| 20 #include "dbus/values_util.h" | 20 #include "dbus/values_util.h" |
| 21 | 21 |
| 22 namespace chromeos { | 22 namespace chromeos { |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| 25 // TODO(benchan): Move these constants to system_api. | 25 // TODO(benchan): Move these constants to system_api. |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 | 420 |
| 421 PeerDaemonManagerClient::~PeerDaemonManagerClient() { | 421 PeerDaemonManagerClient::~PeerDaemonManagerClient() { |
| 422 } | 422 } |
| 423 | 423 |
| 424 // static | 424 // static |
| 425 PeerDaemonManagerClient* PeerDaemonManagerClient::Create() { | 425 PeerDaemonManagerClient* PeerDaemonManagerClient::Create() { |
| 426 return new PeerDaemonManagerClientImpl(); | 426 return new PeerDaemonManagerClientImpl(); |
| 427 } | 427 } |
| 428 | 428 |
| 429 } // namespace chromeos | 429 } // namespace chromeos |
| OLD | NEW |