| 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/fake_privet_daemon_manager_client.h" | 5 #include "chromeos/dbus/fake_privet_daemon_manager_client.h" |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
| 9 | 9 |
| 10 namespace chromeos { | 10 namespace chromeos { |
| 11 | 11 |
| 12 FakePrivetDaemonManagerClient::FakePrivetDaemonManagerClient() { | 12 FakePrivetDaemonManagerClient::FakePrivetDaemonManagerClient() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 FakePrivetDaemonManagerClient::~FakePrivetDaemonManagerClient() { | 15 FakePrivetDaemonManagerClient::~FakePrivetDaemonManagerClient() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void FakePrivetDaemonManagerClient::Init(dbus::Bus* bus) { | 18 void FakePrivetDaemonManagerClient::Init(dbus::Bus* bus) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 30 base::ThreadTaskRunnerHandle::Get()->PostTask( | 30 base::ThreadTaskRunnerHandle::Get()->PostTask( |
| 31 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS)); | 31 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS)); |
| 32 } | 32 } |
| 33 | 33 |
| 34 const PrivetDaemonManagerClient::Properties* | 34 const PrivetDaemonManagerClient::Properties* |
| 35 FakePrivetDaemonManagerClient::GetProperties() { | 35 FakePrivetDaemonManagerClient::GetProperties() { |
| 36 return nullptr; | 36 return nullptr; |
| 37 } | 37 } |
| 38 | 38 |
| 39 } // namespace chromeos | 39 } // namespace chromeos |
| OLD | NEW |