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_arc_bridge_client.h" | 5 #include "chromeos/dbus/fake_arc_bridge_client.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 } | 26 } |
27 | 27 |
28 void FakeArcBridgeClient::Init(dbus::Bus* bus) { | 28 void FakeArcBridgeClient::Init(dbus::Bus* bus) { |
29 } | 29 } |
30 | 30 |
31 void FakeArcBridgeClient::Ping(const VoidDBusMethodCallback& callback) { | 31 void FakeArcBridgeClient::Ping(const VoidDBusMethodCallback& callback) { |
32 base::ThreadTaskRunnerHandle::Get()->PostTask( | 32 base::ThreadTaskRunnerHandle::Get()->PostTask( |
33 FROM_HERE, base::Bind(&OnVoidDBusMethod, callback)); | 33 FROM_HERE, base::Bind(&OnVoidDBusMethod, callback)); |
34 } | 34 } |
35 | 35 |
| 36 void FakeArcBridgeClient::Refresh() {} |
| 37 |
| 38 void FakeArcBridgeClient::LaunchApp(const std::string& package, |
| 39 const std::string& activity) {} |
| 40 |
| 41 void FakeArcBridgeClient::AddAppObserver(AppObserver* observer) {} |
| 42 |
| 43 void FakeArcBridgeClient::RemoveAppObserver(AppObserver* observer) {} |
| 44 |
36 } // namespace chromeos | 45 } // namespace chromeos |
OLD | NEW |