diff options
Diffstat (limited to 'chromeos/dbus/shill_manager_client.cc')
-rw-r--r-- | chromeos/dbus/shill_manager_client.cc | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/chromeos/dbus/shill_manager_client.cc b/chromeos/dbus/shill_manager_client.cc index 04d7bcf..e99a940 100644 --- a/chromeos/dbus/shill_manager_client.cc +++ b/chromeos/dbus/shill_manager_client.cc @@ -212,14 +212,15 @@ class ShillManagerClientImpl : public ShillManagerClient { error_callback); } - virtual void VerifyAndEncryptData(const std::string& certificate, - const std::string& public_key, - const std::string& nonce, - const std::string& signed_data, - const std::string& device_serial, - const std::string& data, - const StringCallback& callback, - const ErrorCallback& error_callback) OVERRIDE { + virtual void VerifyAndEncryptData( + const std::string& certificate, + const std::string& public_key, + const std::string& nonce, + const std::string& signed_data, + const std::string& device_serial, + const std::string& data, + const StringCallback& callback, + const ErrorCallback& error_callback) OVERRIDE { dbus::MethodCall method_call(flimflam::kFlimflamManagerInterface, shill::kVerifyAndEncryptDataFunction); dbus::MessageWriter writer(&method_call); @@ -234,6 +235,16 @@ class ShillManagerClientImpl : public ShillManagerClient { error_callback); } + virtual void ConnectToBestServices( + const base::Closure& callback, + const ErrorCallback& error_callback) OVERRIDE { + dbus::MethodCall method_call(flimflam::kFlimflamManagerInterface, + shill::kConnectToBestServicesFunction); + helper_.CallVoidMethodWithErrorCallback(&method_call, + callback, + error_callback); + } + virtual TestInterface* GetTestInterface() OVERRIDE { return NULL; } |