shill: Propagate Cellular Activate call errors to the DBus caller.
BUG=chromium-os:19547
TEST=unit tests
Change-Id: I2a0f889f0863c299c3f3ac006a6df5a608407881
Reviewed-on: http://gerrit.chromium.org/gerrit/6616
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
diff --git a/cellular_service.h b/cellular_service.h
index 895a146..67b6a92 100644
--- a/cellular_service.h
+++ b/cellular_service.h
@@ -17,6 +17,7 @@
namespace shill {
class ControlInterface;
+class Error;
class EventDispatcher;
class Manager;
@@ -31,7 +32,7 @@
// Inherited from Service.
virtual void Connect(Error *error);
virtual void Disconnect();
- virtual void ActivateCellularModem(const std::string &carrier);
+ virtual void ActivateCellularModem(const std::string &carrier, Error *error);
// cellular_<MAC>_<Service_Operator_Name>
std::string GetStorageIdentifier(const std::string &mac);