Chromium Code Reviews| Index: chromeos/dbus/fake_shill_device_client.cc |
| diff --git a/chromeos/dbus/fake_shill_device_client.cc b/chromeos/dbus/fake_shill_device_client.cc |
| index 623487b49b7d4522d9c026250e581082888fe410..d6722757949ab0ee006ddeb46c77a929c77fa7e1 100644 |
| --- a/chromeos/dbus/fake_shill_device_client.cc |
| +++ b/chromeos/dbus/fake_shill_device_client.cc |
| @@ -264,6 +264,29 @@ void FakeShillDeviceClient::PerformTDLSOperation( |
| base::Bind(callback, result)); |
| } |
| +void FakeShillDeviceClient::AddWakeOnPacketConnection( |
| + const dbus::ObjectPath& device_path, |
| + const net::IPEndPoint& ip_endpoint, |
| + const base::Closure& callback, |
| + const ErrorCallback& error_callback) { |
|
stevenjb
2014/11/13 22:20:17
We may want to trivially map device_path -> set<IP
Chirantan Ekbote
2014/11/14 02:47:43
Done.
|
| + base::MessageLoop::current()->PostTask(FROM_HERE, callback); |
| +} |
| + |
| +void FakeShillDeviceClient::RemoveWakeOnPacketConnection( |
| + const dbus::ObjectPath& device_path, |
| + const net::IPEndPoint& ip_endpoint, |
| + const base::Closure& callback, |
| + const ErrorCallback& error_callback) { |
| + base::MessageLoop::current()->PostTask(FROM_HERE, callback); |
| +} |
| + |
| +void FakeShillDeviceClient::RemoveAllWakeOnPacketConnections( |
| + const dbus::ObjectPath& device_path, |
| + const base::Closure& callback, |
| + const ErrorCallback& error_callback) { |
| + base::MessageLoop::current()->PostTask(FROM_HERE, callback); |
| +} |
| + |
| ShillDeviceClient::TestInterface* FakeShillDeviceClient::GetTestInterface() { |
| return this; |
| } |