Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: chromeos/dbus/shill_manager_client.cc

Issue 722043004: Clean up wake on wifi handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/shill_manager_client.h ('k') | chromeos/network/fake_network_device_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_manager_client.cc
diff --git a/chromeos/dbus/shill_manager_client.cc b/chromeos/dbus/shill_manager_client.cc
index 52b2ef1befbac4706576f7f94f2362f411e004c6..f1ea6710dda80c999620f603b4a293078b449ca2 100644
--- a/chromeos/dbus/shill_manager_client.cc
+++ b/chromeos/dbus/shill_manager_client.cc
@@ -211,51 +211,6 @@ class ShillManagerClientImpl : public ShillManagerClient {
error_callback);
}
- virtual void AddWakeOnPacketConnection(
- const net::IPEndPoint& ip_endpoint,
- const base::Closure& callback,
- const ErrorCallback& error_callback) override {
- if (ip_endpoint.address().empty()) {
- LOG(ERROR) << "AddWakeOnPacketConnection: null address";
- return;
- }
- dbus::MethodCall method_call(shill::kFlimflamManagerInterface,
- shill::kAddWakeOnPacketConnectionFunction);
- dbus::MessageWriter writer(&method_call);
- writer.AppendString(net::IPAddressToString(ip_endpoint.address()));
- helper_->CallVoidMethodWithErrorCallback(&method_call,
- callback,
- error_callback);
- }
-
- virtual void RemoveWakeOnPacketConnection(
- const net::IPEndPoint& ip_endpoint,
- const base::Closure& callback,
- const ErrorCallback& error_callback) override {
- if (ip_endpoint.address().empty()) {
- LOG(ERROR) << "RemoveWakeOnPacketConnection: null address";
- return;
- }
- dbus::MethodCall method_call(shill::kFlimflamManagerInterface,
- shill::kRemoveWakeOnPacketConnectionFunction);
- dbus::MessageWriter writer(&method_call);
- writer.AppendString(net::IPAddressToString(ip_endpoint.address()));
- helper_->CallVoidMethodWithErrorCallback(&method_call,
- callback,
- error_callback);
- }
-
- virtual void RemoveAllWakeOnPacketConnections(
- const base::Closure& callback,
- const ErrorCallback& error_callback) override {
- dbus::MethodCall method_call(
- shill::kFlimflamManagerInterface,
- shill::kRemoveAllWakeOnPacketConnectionsFunction);
- helper_->CallVoidMethodWithErrorCallback(&method_call,
- callback,
- error_callback);
- }
-
virtual TestInterface* GetTestInterface() override {
return NULL;
}
« no previous file with comments | « chromeos/dbus/shill_manager_client.h ('k') | chromeos/network/fake_network_device_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698