shill: Add bindings for org.freedesktop.ModemManager1.Modem.Location

This CL declares and implements a proxy interface for
org.freedesktop.ModemManager1.Modem.Location.

BUG=chromium-os:37173
TEST=Build and ran unit tests.

Change-Id: I22843677c0e23eb21437a1273cf3ec3f7c6b086b
Reviewed-on: https://gerrit.chromium.org/gerrit/39630
Commit-Ready: Arman Uguray <armansito@chromium.org>
Reviewed-by: Arman Uguray <armansito@chromium.org>
Tested-by: Arman Uguray <armansito@chromium.org>
diff --git a/mock_mm1_modem_location_proxy.h b/mock_mm1_modem_location_proxy.h
new file mode 100644
index 0000000..7d09da8
--- /dev/null
+++ b/mock_mm1_modem_location_proxy.h
@@ -0,0 +1,45 @@
+// Copyright (c) 2012 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.
+
+#ifndef SHILL_MM1_MOCK_MODEM_LOCATION_PROXY_H_
+#define SHILL_MM1_MOCK_MODEM_LOCATION_PROXY_H_
+
+#include <base/basictypes.h>
+#include <gmock/gmock.h>
+
+#include "shill/mm1_modem_location_proxy_interface.h"
+
+namespace shill {
+namespace mm1 {
+
+class MockModemLocationProxy : public ModemLocationProxyInterface {
+ public:
+  MockModemLocationProxy();
+  virtual ~MockModemLocationProxy();
+
+  // Inherited methods from ModemLocationProxyInterface.
+  MOCK_METHOD5(Setup, void(uint32_t sources,
+                           bool signal_location,
+                           Error *error,
+                           const ResultCallback &callback,
+                           int timeout));
+
+  MOCK_METHOD3(GetLocation, void(Error *error,
+                                 const DBusEnumValueMapCallback &callback,
+                                 int timeout));
+
+  // Inherited properties from ModemLocationProxyInterface.
+  MOCK_METHOD0(Capabilities, uint32_t());
+  MOCK_METHOD0(Enabled, uint32_t());
+  MOCK_METHOD0(SignalsLocation, bool());
+  MOCK_METHOD0(Location, const DBusEnumValueMap());
+
+ private:
+  DISALLOW_COPY_AND_ASSIGN(MockModemLocationProxy);
+};
+
+}  // namespace mm1
+}  // namespace shill
+
+#endif  // SHILL_MM1_MOCK_MODEM_LOCATION_PROXY_H_