shill: Cellular device obtains Modem status through its Simple interface.

BUG=chromium-os:18315
TEST=unit tests, tested on device

Change-Id: I0eae20e65724387c1acad05acdf85bc6cd20d71f
Reviewed-on: http://gerrit.chromium.org/gerrit/4968
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
diff --git a/modem_simple_proxy.cc b/modem_simple_proxy.cc
new file mode 100644
index 0000000..a8b48b1
--- /dev/null
+++ b/modem_simple_proxy.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "shill/modem_simple_proxy.h"
+
+using std::string;
+
+namespace shill {
+
+ModemSimpleProxy::ModemSimpleProxy(DBus::Connection *connection,
+                                   const string &path,
+                                   const string &service)
+    : proxy_(connection, path, service) {}
+
+ModemSimpleProxy::~ModemSimpleProxy() {}
+
+DBusPropertiesMap ModemSimpleProxy::GetStatus() {
+  return proxy_.GetStatus();
+}
+
+ModemSimpleProxy::Proxy::Proxy(DBus::Connection *connection,
+                               const string &path,
+                               const string &service)
+    : DBus::ObjectProxy(*connection, path, service.c_str()) {}
+
+ModemSimpleProxy::Proxy::~Proxy() {}
+
+}  // namespace shill