shill: Register GSM modem as part of device start up.
BUG=chromium-os:19676
TEST=unit tests, tested on device
Change-Id: Ie8f8a8ce4fd185226a9f55f4fcd62224e7318c3c
Reviewed-on: http://gerrit.chromium.org/gerrit/6683
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
diff --git a/proxy_factory.cc b/proxy_factory.cc
index c5191c6..5945bbe 100644
--- a/proxy_factory.cc
+++ b/proxy_factory.cc
@@ -9,6 +9,7 @@
#include "shill/dbus_properties_proxy.h"
#include "shill/dhcpcd_proxy.h"
#include "shill/modem_cdma_proxy.h"
+#include "shill/modem_gsm_network_proxy.h"
#include "shill/modem_manager_proxy.h"
#include "shill/modem_proxy.h"
#include "shill/modem_simple_proxy.h"
@@ -65,6 +66,13 @@
return new ModemCDMAProxy(listener, connection(), path, service);
}
+ModemGSMNetworkProxyInterface *ProxyFactory::CreateModemGSMNetworkProxy(
+ ModemGSMNetworkProxyListener *listener,
+ const string &path,
+ const string &service) {
+ return new ModemGSMNetworkProxy(listener, connection(), path, service);
+}
+
SupplicantProcessProxyInterface *ProxyFactory::CreateSupplicantProcessProxy(
const char *dbus_path,
const char *dbus_addr) {