shill: Implement mm1-sim PIN callbacks
The mm1-sim callbacks were implemented but were named wrong. This CL
fixes the names.
BUG=chromium-os:28800
TEST=Manual. Run this dbus command:
dbus-send --system --print-reply --dest=org.chromium.flimflam \
/device/eth1 org.chromium.flimflam.Device.RequirePin string: boolean:true
and observe that shill does not crash. Without the CL, shill crashes
with an assert saying to implement EnterPinCallback.
Change-Id: Iee6a6c37d0ba662f043f9f5161f08f8f0ad1873f
Reviewed-on: https://gerrit.chromium.org/gerrit/22241
Commit-Ready: Gary Morain <gmorain@chromium.org>
Reviewed-by: Gary Morain <gmorain@chromium.org>
Tested-by: Gary Morain <gmorain@chromium.org>
diff --git a/mm1_sim_proxy.h b/mm1_sim_proxy.h
index 1b98ecd..15bb096 100644
--- a/mm1_sim_proxy.h
+++ b/mm1_sim_proxy.h
@@ -66,10 +66,10 @@
void *data);
virtual void SendPukCallback(const ::DBus::Error &dberror,
void *data);
- virtual void EnableCallback(const ::DBus::Error &dberror,
- void *data);
- virtual void ChangeCallback(const ::DBus::Error &dberror,
- void *data);
+ virtual void EnablePinCallback(const ::DBus::Error &dberror,
+ void *data);
+ virtual void ChangePinCallback(const ::DBus::Error &dberror,
+ void *data);
DISALLOW_COPY_AND_ASSIGN(Proxy);
};