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

Unified Diff: chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc

Issue 1014053002: Provide warning message for setParameters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Print only when there is a warning and fix unittest error Created 5 years, 9 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
Index: chromeos/dbus/fake_shill_third_party_vpn_driver_client.cc
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 90d6ebda4db7cdb93b3595ca52aa59c2ceda5daa..b5e45b95176a2a85b716940e620cee2ca55444f5 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(

Powered by Google App Engine
This is Rietveld 408576698