[shill] Wire shill to dbus

Refactor necessary classes into their own headers and such as well.

BUG=chromium-os:15578
TEST=unit tests, shill --foreground on device

Change-Id: Ib9c5a0e9dab779ecc44c1d0144035f5a09e1086e
Reviewed-on: http://gerrit.chromium.org/gerrit/1307
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/mock_adaptors.h b/mock_adaptors.h
new file mode 100644
index 0000000..16b150a
--- /dev/null
+++ b/mock_adaptors.h
@@ -0,0 +1,42 @@
+// 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.
+
+#ifndef SHILL_MOCK_ADAPTORS_
+#define SHILL_MOCK_ADAPTORS_
+
+#include <string>
+
+#include <gmock/gmock.h>
+
+#include "shill/adaptor_interfaces.h"
+
+namespace shill {
+
+// These are the functions that a Manager adaptor must support
+class ManagerMockAdaptor : public ManagerAdaptorInterface {
+ public:
+  ManagerMockAdaptor() {}
+  virtual ~ManagerMockAdaptor() {}
+  MOCK_METHOD0(UpdateRunning, void(void));
+};
+
+// These are the functions that a Service adaptor must support
+class ServiceMockAdaptor : public ServiceAdaptorInterface {
+ public:
+  ServiceMockAdaptor() {}
+  virtual ~ServiceMockAdaptor() {}
+  MOCK_METHOD0(UpdateConnected, void(void));
+
+};
+
+// These are the functions that a Device adaptor must support
+class DeviceMockAdaptor : public DeviceAdaptorInterface {
+ public:
+  DeviceMockAdaptor() {}
+  virtual ~DeviceMockAdaptor() {}
+  MOCK_METHOD0(UpdateEnabled, void(void));
+};
+
+}  // namespace shill
+#endif  // SHILL_MOCK_ADAPTORS_