| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/privet_daemon_manager_client.h" | 5 #include "chromeos/dbus/privet_daemon_manager_client.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
| 17 #include "base/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
| 18 #include "dbus/bus.h" | 18 #include "dbus/bus.h" |
| 19 #include "dbus/message.h" | 19 #include "dbus/message.h" |
| 20 #include "dbus/object_manager.h" | 20 #include "dbus/object_manager.h" |
| 21 #include "dbus/object_proxy.h" | 21 #include "dbus/object_proxy.h" |
| 22 | 22 |
| 23 namespace chromeos { | 23 namespace chromeos { |
| 24 | 24 |
| 25 namespace { | 25 namespace { |
| 26 | 26 |
| 27 // TODO(benchan): Move these constants to system_api. | 27 // TODO(benchan): Move these constants to system_api. |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 274 |
| 275 PrivetDaemonManagerClient::~PrivetDaemonManagerClient() { | 275 PrivetDaemonManagerClient::~PrivetDaemonManagerClient() { |
| 276 } | 276 } |
| 277 | 277 |
| 278 // static | 278 // static |
| 279 PrivetDaemonManagerClient* PrivetDaemonManagerClient::Create() { | 279 PrivetDaemonManagerClient* PrivetDaemonManagerClient::Create() { |
| 280 return new PrivetDaemonManagerClientImpl(); | 280 return new PrivetDaemonManagerClientImpl(); |
| 281 } | 281 } |
| 282 | 282 |
| 283 } // namespace chromeos | 283 } // namespace chromeos |
| OLD | NEW |