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

Unified Diff: chromeos/dbus/shill_device_client.cc

Issue 156353002: Implement networkingPrivate.setWifiTDLSEnabledState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable TDLS tests on non-chromeos Created 6 years, 10 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_device_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_device_client.cc
diff --git a/chromeos/dbus/shill_device_client.cc b/chromeos/dbus/shill_device_client.cc
index 94934b416226cbcf025d9a8de883b38f84a1ad97..40946efba5c8ff34fa325c892f43f2bed35d5998 100644
--- a/chromeos/dbus/shill_device_client.cc
+++ b/chromeos/dbus/shill_device_client.cc
@@ -191,6 +191,21 @@ class ShillDeviceClientImpl : public ShillDeviceClient {
&method_call, callback, error_callback);
}
+ virtual void PerformTDLSOperation(
+ const dbus::ObjectPath& device_path,
+ const std::string& operation,
+ const std::string& peer,
+ const StringCallback& callback,
+ const ErrorCallback& error_callback) OVERRIDE {
+ dbus::MethodCall method_call(shill::kFlimflamDeviceInterface,
+ shill::kPerformTDLSOperationFunction);
+ dbus::MessageWriter writer(&method_call);
+ writer.AppendString(operation);
+ writer.AppendString(peer);
+ GetHelper(device_path)->CallStringMethodWithErrorCallback(
+ &method_call, callback, error_callback);
+ }
+
virtual TestInterface* GetTestInterface() OVERRIDE {
return NULL;
}
« no previous file with comments | « chromeos/dbus/shill_device_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