shill: Add a basic PowerManager DBus proxy.
It will be used to communicate with powerd to handle suspend/resume events.
BUG=chromium-os:22409
TEST=unit tests
Change-Id: I982211a22a70bb67efafc4652ffe6ce8375600e6
Reviewed-on: https://gerrit.chromium.org/gerrit/11126
Commit-Ready: Darin Petkov <petkov@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
diff --git a/proxy_factory.h b/proxy_factory.h
index f743554..186f00a 100644
--- a/proxy_factory.h
+++ b/proxy_factory.h
@@ -30,6 +30,8 @@
class ModemProxyDelegate;
class ModemProxyInterface;
class ModemSimpleProxyInterface;
+class PowerManagerProxyDelegate;
+class PowerManagerProxyInterface;
class SupplicantInterfaceProxyInterface;
class SupplicantProcessProxyInterface;
@@ -76,6 +78,9 @@
const std::string &path,
const std::string &service);
+ virtual PowerManagerProxyInterface *CreatePowerManagerProxy(
+ PowerManagerProxyDelegate *delegate);
+
virtual SupplicantProcessProxyInterface *CreateSupplicantProcessProxy(
const char *dbus_path,
const char *dbus_addr);