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

Unified Diff: chromeos/dbus/shill_manager_client.cc

Issue 584753002: Revert of GCM: D-Bus methods for wake-on-packet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 months 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') | no next file » | 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 d4c00195de85d950dad651e72c780bd371cf2ff8..0ad602f22bbb52656ea07c47ee1b11451972b10f 100644
--- a/chromeos/dbus/shill_manager_client.cc
+++ b/chromeos/dbus/shill_manager_client.cc
@@ -14,7 +14,6 @@
#include "dbus/object_path.h"
#include "dbus/object_proxy.h"
#include "dbus/values_util.h"
-#include "net/base/ip_endpoint.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
namespace chromeos {
@@ -211,43 +210,6 @@
error_callback);
}
- virtual void AddWakeOnPacketConnection(
- const net::IPEndPoint& ip_endpoint,
- const base::Closure& callback,
- const ErrorCallback& error_callback) OVERRIDE {
- 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 {
- 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') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698