diff options
author | kaliamoorthi <kaliamoorthi@chromium.org> | 2015-03-19 03:09:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-19 10:10:23 +0000 |
commit | e5ad31358cc693c737cf34268b4abd520994bfc3 (patch) | |
tree | 8730595d6c9fe102f099b139640d865ff360df9d /chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc | |
parent | d642544d7ac9987fb728c0251ae2587ec3b07bc5 (diff) | |
download | chromium_src-e5ad31358cc693c737cf34268b4abd520994bfc3.zip chromium_src-e5ad31358cc693c737cf34268b4abd520994bfc3.tar.gz chromium_src-e5ad31358cc693c737cf34268b4abd520994bfc3.tar.bz2 |
Provide warning message for setParameters
This CL adds warning message for setParameters API of vpnProvider.
The vpnProvider extension API is further filled to stable channel
from dev channel.
BUG=467911
TBR=stevenjb
Review URL: https://codereview.chromium.org/1014053002
Cr-Commit-Position: refs/heads/master@{#321325}
Diffstat (limited to 'chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc')
-rw-r--r-- | chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc b/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc index 90d6ebda..b5e45b9 100644 --- a/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc +++ b/chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc @@ -42,9 +42,10 @@ void FakeShillThirdPartyVpnDriverClient::RemoveShillThirdPartyVpnObserver( void FakeShillThirdPartyVpnDriverClient::SetParameters( const std::string& object_path_value, const base::DictionaryValue& parameters, - const base::Closure& callback, + const ShillClientHelper::StringCallback& callback, const ShillClientHelper::ErrorCallback& error_callback) { - base::MessageLoop::current()->PostTask(FROM_HERE, callback); + base::MessageLoop::current()->PostTask(FROM_HERE, + base::Bind(callback, std::string())); } void FakeShillThirdPartyVpnDriverClient::UpdateConnectionState( |