shill: Basic implementation of RequirePIN, EnterPIN, UnblockPIN and ChangePIN.
BUG=chromium-os:19845,19846,19847,19849
TEST=unit tests
Change-Id: I88a710f5bf2573a13aa023f2cd176b2e6bf47051
Reviewed-on: http://gerrit.chromium.org/gerrit/7018
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Eric Shienbrood <ers@chromium.org>
diff --git a/device.h b/device.h
index b876b48..8d838f2 100644
--- a/device.h
+++ b/device.h
@@ -64,6 +64,14 @@
// The default implementation sets |error| to kNotSupported.
virtual void RegisterOnNetwork(const std::string &network_id, Error *error);
+ virtual void RequirePIN(const std::string &pin, bool require, Error *error);
+ virtual void EnterPIN(const std::string &pin, Error *error);
+ virtual void UnblockPIN(const std::string &unblock_code,
+ const std::string &pin,
+ Error *error);
+ virtual void ChangePIN(const std::string &old_pin,
+ const std::string &new_pin,
+ Error *error);
std::string GetRpcIdentifier();
std::string GetStorageIdentifier();