Index: chromeos/dbus/mock_shill_manager_client.h |
diff --git a/chromeos/dbus/mock_shill_manager_client.h b/chromeos/dbus/mock_shill_manager_client.h |
index bf80b64739bb0a212b6249dffd1f6fcd8fa5fd32..63c8c9c4d344f0ea048ae37381a218e70855d4a8 100644 |
--- a/chromeos/dbus/mock_shill_manager_client.h |
+++ b/chromeos/dbus/mock_shill_manager_client.h |
@@ -8,6 +8,7 @@ |
#include "base/values.h" |
#include "chromeos/dbus/shill_manager_client.h" |
#include "chromeos/dbus/shill_property_changed_observer.h" |
+#include "net/base/ip_endpoint.h" |
#include "testing/gmock/include/gmock/gmock.h" |
namespace chromeos { |
@@ -66,6 +67,17 @@ class MockShillManagerClient : public ShillManagerClient { |
MOCK_METHOD2(ConnectToBestServices, |
void(const base::Closure& callback, |
const ErrorCallback& error_callback)); |
+ MOCK_METHOD3(AddWakeOnPacketConnection, |
+ void(const net::IPEndPoint& ip_connection, |
+ const base::Closure& callback, |
+ const ErrorCallback& error_callback)); |
+ MOCK_METHOD3(RemoveWakeOnPacketConnection, |
+ void(const net::IPEndPoint& ip_connection, |
+ const base::Closure& callback, |
+ const ErrorCallback& error_callback)); |
+ MOCK_METHOD2(RemoveAllWakeOnPacketConnections, |
+ void(const base::Closure& callback, |
+ const ErrorCallback& error_callback)); |
MOCK_METHOD0(GetTestInterface, TestInterface*()); |
}; |